You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(12) |
2
(13) |
|
3
(4) |
4
(34) |
5
(14) |
6
(23) |
7
(26) |
8
(12) |
9
(7) |
|
10
(7) |
11
(9) |
12
(12) |
13
(20) |
14
(14) |
15
(13) |
16
(5) |
|
17
(4) |
18
(22) |
19
(29) |
20
(13) |
21
(9) |
22
(22) |
23
(3) |
|
24
(3) |
25
(29) |
26
(9) |
27
(10) |
28
(16) |
29
(16) |
30
(16) |
|
31
(9) |
|
|
|
|
|
|
|
From: Benjamin R. <ben...@ou...> - 2010-10-16 17:22:38
|
On Sat, Oct 16, 2010 at 7:04 AM, Nils Wagner <nw...@ia...>wrote: > Hi all, > > Does anyone know how I can convert my matplotlib 3D images > into U3D files ? > > > I found some hints for Matlab users ... > > Any pointer would be appreciated. > > Thanks in advance. > > Nils > > http://en.wikipedia.org/wiki/Universal_3D > > http://www.mathworks.de/matlabcentral/newsreader/view_thread/157025 > > http://www.nada.kth.se/~asa/Ray/matlabobj.html<http://www.nada.kth.se/%7Easa/Ray/matlabobj.html> > > http://meshlab.sourceforge.net/ > > Nils, I don't believe that this is currently possible in mplot3d. The way the ".savefig()" function works is by getting all of the object data down to one of the backends, which operate on 2D data only. As a matter of fact, a lot of code in mplot3d is spent on producing 2D projections of 3D data. While such a feature would be neat (and maybe it could be shoehorned into the pdf writer?) I would not expect it anytime soon. I would greatly encourage you to file a feature request and include those links as well. http://sourceforge.net/tracker/?group_id=80706 Thanks for the idea! Ben Root |
|
From: Nils W. <nw...@ia...> - 2010-10-16 12:04:20
|
Hi all, Does anyone know how I can convert my matplotlib 3D images into U3D files ? I found some hints for Matlab users ... Any pointer would be appreciated. Thanks in advance. Nils http://en.wikipedia.org/wiki/Universal_3D http://www.mathworks.de/matlabcentral/newsreader/view_thread/157025 http://www.nada.kth.se/~asa/Ray/matlabobj.html http://meshlab.sourceforge.net/ |
|
From: Gerrit K. <gku...@st...> - 2010-10-16 04:32:18
|
Dear Daniel, to give the corners of an array, some "matplotlib" plotting functions have the "extent" keyword, e.g. "contour" and "imshow". You can use this to put your data on the map. However, the functions of the "Basemap" class do not support this functionality. "Basemap.imshow" overwrites the "extent" keyword (see docstring). A workaround is to call "matplotlib.pyplot.imshow" instead, to draw on your "Basemap" map: >>> map = Basemap(projection='...', ...) >>> map.drawcoastlines() >>> extent = reduce(lambda x,y: x+y, map([lon0,lon1],[lat0,lat1]) >>> matplotlib.pyplot.imshow(data, extent=extent) You can also create an axes instance first, to have more control over your plot. To your second question: Since the real globe is a 3d sphere with longitude and latitude and your image is a 2d map with x,y coordinates, you need some rule how to transform longitude and latitude to your x,y system. This rules are the different projections. The main idea of "basemap" is to help you with this projection by calling "x,y = map(lons, lats)". So, I guess your are using "basemap" wrong, if you have to change the coordinates *by hand*. If you need more help, you should give a small example where your problem occurs. Best Regards, Gerrit ----- Original Message ----- From: Daniel Fulger <dan...@we...> Date: Friday, October 15, 2010 6:20 pm Subject: [Matplotlib-users] basemap toolkit: project graphics file given in lon-lat To: mat...@li... > Dear all, > > I would like to project a graphics file of some colour coded geo data > > that is already given in lat-lon with corners > specified in lat-lon onto a map. The projection of the result should > > be flexible. In the end the resulting > plot shows a section of the earth, either from a satallite > perspective (ortho) or some convenient projection. > > All examples I found seem to be doing different things or special > cases that I have trouble to generalize or modify. > These examples transform the data from some (often unpecified) system > > to a coordinate system that > suites the chosen projection. > But the fact that the geo data file is given in lat-lon with corners > > must simplify everything and should make the chosen > projection arbitrary. The resolution of the data file must also be > arbitrary and should not appear in the code. > I do not see why the final projection should require beforehand a > change of the geo-data coordinate > system *by hand* i.e. typing in the transform formulas and extracting > > pixel sizes. > I would have thought that to avoid this is the whole point of using > map toolkits. > > I imagine a function that takes the parameters > - datafile, alternatively an array with a colour value or RGB for > each lon-lat coordinate > - its lon-lat corners, > - a basemap map-object i want the data projected onto > - and the projection specifier (possibly with desired corners if > different from the maps corners) > that determines how i want to see the the resulting piece of the > globe. > > > Could someone explain to me (a python newbie) what the sequence of > steps/functions would have to be or which > predefined methods are doing this. > > Regards > Daniel > > > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that > run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Chris B. <Chr...@no...> - 2010-10-16 00:35:34
|
On 10/15/10 5:16 PM, Paul Ivanov wrote:
> I want to do something like this:
>
> import matplotlib.pyplot as plt
> def onclick(event):
> if event.button==1:
> plt.close()
> fig = plt.gcf()
> cid = fig.canvas.mpl_connect('button_press_event', onclick)
> plt.show()
>
> I've tried several variations on this theme, but all of them cause
> crashes. Am I missing something?
>
> I'm using 1.0.0 with WXAgg
>
> thanks,
>
I don't know if MPL events do anything like this, but since you are
using wx, you could probably use wx.CallAfter() (or wx.CallLater(), call
one of those in your callback,a nd tehn have the function called close
the figure.
-Chris
|
|
From: Paul I. <piv...@gm...> - 2010-10-16 00:16:57
|
I want to do something like this:
import matplotlib.pyplot as plt
def onclick(event):
if event.button==1:
plt.close()
fig = plt.gcf()
cid = fig.canvas.mpl_connect('button_press_event', onclick)
plt.show()
I've tried several variations on this theme, but all of them cause
crashes. Am I missing something?
I'm using 1.0.0 with WXAgg
thanks,
--
Paul Ivanov
314 address only used for lists, off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
|