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
|
|
From: Jeff W. <js...@fa...> - 2012-08-25 13:24:58
|
On 8/24/12 10:20 PM, klo uo wrote: > On Sat, Aug 25, 2012 at 1:26 AM, Jeff Whitaker wrote: >> Oh sure, it's simple! >> >> http://www.google.com/patents?id=J4YOAAAAEBAJ&dq=6618053 > Hi Jeff, > > thanks for your reply. > > I was hoping to get response if there are ideas how this unfortunate > performance can be avoided. If there are some thoughts or if it's > closed case. Klo: It's not a closed case - but I have no idea how to do it. If you'd like to try to implement something, your contribution would be welcome. > > About GIS web-services, I thought maybe extending Basemap and > providing interface to some of available online mapping services. > For example arcgis is just one of them, and allows using their online > map service to arbitrary application, while exposing REST > (http://resources.arcgis.com/en/help/rest/apiref/index.html?mapserver.html) > and SOAP service with full WSDL description > (http://services.arcgisonline.com/ArcGIS/services/World_Imagery/MapServer?wsdl) > and documentation. REST requests cover all of their services while > SOAP is limited and a bit harder to code in this example. Services > offer much more than it's needed to be paired in Basemap, as can be > seen from documentation, with any imaginable projection and what not. > > As an example of using the service here is image: http://i.imgur.com/RpUFv.png > and here is it's simple source code that executes unnoticeable in second: > ======================================== > import matplotlib.pyplot as plt > import urllib2 > > lon1 = -10; lon2 = 30; lat1 = 30; lat2 = 60 > basemap_url = > "http://server.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer/export?bbox=%d,%d,%d,%d&bboxSR=4326&size=1024,768&dpi=128&format=png32&f=image" > % (lon1, lat1, lon2, lat2) > overlay_url = > "https://ogcie.iblsoft.com/sigwx?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=ASXX&WIDTH=1024&HEIGHT=768&CRS=EPSG:4326&BBOX=%d,%d,%d,%d&TRANSPARENT=TRUE&STYLES=&FORMAT=image/png" > % (lon1, lat1, lon2, lat2) > > plt.figure(figsize=(8, 6), dpi=128, facecolor='w') > plt.imshow(plt.imread(urllib2.urlopen(basemap_url))) > plt.imshow(plt.imread(urllib2.urlopen(overlay_url))) > plt.gca().axison = False > plt.savefig("scene.png", dpi=128, transparent=True) > ======================================== > > As both "basemap map" and overlay image use same CRS, this seems > doable with just MPL. > > Having such service paired in Basemap as a feature looks very > promising to me. I don't know much about MPL and Basemap design, as if > all above talk is easy and then acceptable for implementation, but > that's roughly what I had in mind for web-services - as additional > feature for replacing bloated background maps provided, which does not > have such quality to justify low performance. It looks like you are fetching an image over a specified region and displaying it with matplotlib. That's very useful, but it doesn't solve the zooming problem you mentioned. Still, it's a good start and would be nice to have in basemap. Sorry for sounding so dismissive in my earlier reply. How do you think web map services could be integrated into Basemap? Do you see this mainly as a faster and more general alternative to the 'bluemarble' or 'warpimage' methods, where you can specify a web map service and have the appropriate tile that fits the map projection region fetched and displayed automatically? -Jeff > > > Cheers > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Damon M. <dam...@gm...> - 2012-08-25 08:21:49
|
On Fri, Aug 24, 2012 at 02:39:12PM -0700, Michael Rawlins wrote: > > > > > ________________________________ > From: Damon McDougall <dam...@gm...> > To: Michael Rawlins <raw...@ya...> > Cc: "mat...@li..." <mat...@li...> > Sent: Friday, August 24, 2012 4:22 PM > Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command > > On Fri, Aug 24, 2012 at 09:20:47PM +0100, Damon McDougall wrote: > > plt.pyplot gives an error: > > AttributeError: 'module' object has no attribute 'pyplot' > Sorry, that's my mistake. It should be plt.plot > > If I use plt.plot(x, y, color='g', marker='.', markersize=3.0) > > the dots are black. That should not happen... Have you tried some of the other colours? 'r', 'b', 'm', 'y', 'c'? Are they all black? What are you saving the file as? What is the output of: plt.get_backend() > But I've found success with: > > plt.plot(x,y,'wo',markeredgecolor='white',markersize=3.0) > > so all is well. Thanks for your help. > -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |
|
From: klo uo <kl...@gm...> - 2012-08-25 04:20:46
|
On Sat, Aug 25, 2012 at 1:26 AM, Jeff Whitaker wrote: > > Oh sure, it's simple! > > http://www.google.com/patents?id=J4YOAAAAEBAJ&dq=6618053 Hi Jeff, thanks for your reply. I was hoping to get response if there are ideas how this unfortunate performance can be avoided. If there are some thoughts or if it's closed case. About GIS web-services, I thought maybe extending Basemap and providing interface to some of available online mapping services. For example arcgis is just one of them, and allows using their online map service to arbitrary application, while exposing REST (http://resources.arcgis.com/en/help/rest/apiref/index.html?mapserver.html) and SOAP service with full WSDL description (http://services.arcgisonline.com/ArcGIS/services/World_Imagery/MapServer?wsdl) and documentation. REST requests cover all of their services while SOAP is limited and a bit harder to code in this example. Services offer much more than it's needed to be paired in Basemap, as can be seen from documentation, with any imaginable projection and what not. As an example of using the service here is image: http://i.imgur.com/RpUFv.png and here is it's simple source code that executes unnoticeable in second: ======================================== import matplotlib.pyplot as plt import urllib2 lon1 = -10; lon2 = 30; lat1 = 30; lat2 = 60 basemap_url = "http://server.arcgisonline.com/ArcGIS/rest/services/World_Physical_Map/MapServer/export?bbox=%d,%d,%d,%d&bboxSR=4326&size=1024,768&dpi=128&format=png32&f=image" % (lon1, lat1, lon2, lat2) overlay_url = "https://ogcie.iblsoft.com/sigwx?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=ASXX&WIDTH=1024&HEIGHT=768&CRS=EPSG:4326&BBOX=%d,%d,%d,%d&TRANSPARENT=TRUE&STYLES=&FORMAT=image/png" % (lon1, lat1, lon2, lat2) plt.figure(figsize=(8, 6), dpi=128, facecolor='w') plt.imshow(plt.imread(urllib2.urlopen(basemap_url))) plt.imshow(plt.imread(urllib2.urlopen(overlay_url))) plt.gca().axison = False plt.savefig("scene.png", dpi=128, transparent=True) ======================================== As both "basemap map" and overlay image use same CRS, this seems doable with just MPL. Having such service paired in Basemap as a feature looks very promising to me. I don't know much about MPL and Basemap design, as if all above talk is easy and then acceptable for implementation, but that's roughly what I had in mind for web-services - as additional feature for replacing bloated background maps provided, which does not have such quality to justify low performance. Cheers |
|
From: Jeff W. <jef...@no...> - 2012-08-24 23:26:45
|
On 8/24/12 3:37 PM, klo uo wrote: > I wanted to overlay some plot over map, and thought to use one of > provided background maps that come with Basemap > Result isn't that great as expected: loading bluemarble map took 1GB > memory, and zooming i.e. Europe region on 1920x1080 screen is too > blurred w/o details. As a consequence, using custom basemap with even > greater resolution is out of consideration > > OTOH whatever I do in Google Earth, memory never exceeds 200MB and > it's even lower with ArcGIS Explorer with any basemap on it. Maybe > it's because these packages use advanced tilling features maybe it's > else, but isn't there something that can be done with Basemap package > so that topological maps can be useful with it? Like using some GIS > webservice or similar? Oh sure, it's simple! http://www.google.com/patents?id=J4YOAAAAEBAJ&dq=6618053 -Jeff > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |
|
From: Michael R. <raw...@ya...> - 2012-08-24 21:39:22
|
________________________________ From: Damon McDougall <dam...@gm...> To: Michael Rawlins <raw...@ya...> Cc: "mat...@li..." <mat...@li...> Sent: Friday, August 24, 2012 4:22 PM Subject: Re: [Matplotlib-users] plotting a colored symbol with plot command On Fri, Aug 24, 2012 at 09:20:47PM +0100, Damon McDougall wrote: > Hey Michael! > > Welcome :) > > On Fri, Aug 24, 2012 at 01:00:13PM -0700, Michael Rawlins wrote: > > > > Relatively new user here. I need to place a series of white colored dots on a map. I've been able to place black dots using: > > > > plt.plot(x,y,color='k',marker='.',markersize=3.0) > > > > You can change the colour with: > > plt.pyplot(x, y, color='g', marker='.', markersize=3.0) > > That will plot a green dot. Damon, plt.pyplot gives an error: AttributeError: 'module' object has no attribute 'pyplot' If I use plt.plot(x, y, color='g', marker='.', markersize=3.0) the dots are black. But I've found success with: plt.plot(x,y,'wo',markeredgecolor='white',markersize=3.0) so all is well. Thanks for your help. > > > > > The color option in this command does not plot the chosen color, only black. The command: > > > > plt.plot(x,y,'wo') > > > > You can change the colour of the edge with the 'markeredgecolour' > -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |
|
From: klo uo <kl...@gm...> - 2012-08-24 21:37:51
|
I wanted to overlay some plot over map, and thought to use one of provided background maps that come with Basemap Result isn't that great as expected: loading bluemarble map took 1GB memory, and zooming i.e. Europe region on 1920x1080 screen is too blurred w/o details. As a consequence, using custom basemap with even greater resolution is out of consideration OTOH whatever I do in Google Earth, memory never exceeds 200MB and it's even lower with ArcGIS Explorer with any basemap on it. Maybe it's because these packages use advanced tilling features maybe it's else, but isn't there something that can be done with Basemap package so that topological maps can be useful with it? Like using some GIS webservice or similar? |
|
From: Damon M. <dam...@gm...> - 2012-08-24 20:23:00
|
On Fri, Aug 24, 2012 at 09:20:47PM +0100, Damon McDougall wrote: > Hey Michael! > > Welcome :) > > On Fri, Aug 24, 2012 at 01:00:13PM -0700, Michael Rawlins wrote: > > > > Relatively new user here. I need to place a series of white colored dots on a map. I've been able to place black dots using: > > > > plt.plot(x,y,color='k',marker='.',markersize=3.0) > > > > You can change the colour with: > > plt.pyplot(x, y, color='g', marker='.', markersize=3.0) > > That will plot a green dot. > > > > > The color option in this command does not plot the chosen color, only black. The command: > > > > plt.plot(x,y,'wo') > > > > You can change the colour of the edge with the 'markeredgecolour' > Sorry! That should me 'markeredgecolor'. All commands are American spelling. If I had a penny for every time I got a syntax error for using British spelling, I'd have about 3 pence. > option, or 'mec' for short: > > plt.plot(x, y, 'wo', mec='w') > > Kablam! Big white Os with no black edge. > You can also control the size of the marker there, too: > > plt.plot(x, y, 'wo', mec='w', markersize=10.0) > > > > > places white dots with black around the edges. I see that the 'w' is for white and 'o' is for the symbol. I'd like to use the former command since that gives me control over marker size and a dot without a black edge. > > > > Lastly, it's not clear to me if I should be using plt.plot or just plot. Both work, and I don't know the difference. > > If you're using pylab, it doesn't matter: > > In [5]: print plot > <function plot at 0x10cddbd70> > > In [6]: print plt.plot > <function plot at 0x10cddbd70> > > They are *literally* the same function in memory. > > Hope this helps, Michael. > Good luck! > > -- > Damon McDougall > http://www.damon-is-a-geek.com > B2.39 > Mathematics Institute > University of Warwick > Coventry > West Midlands > CV4 7AL > United Kingdom -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |
|
From: Damon M. <dam...@gm...> - 2012-08-24 20:21:03
|
Hey Michael! Welcome :) On Fri, Aug 24, 2012 at 01:00:13PM -0700, Michael Rawlins wrote: > > Relatively new user here. I need to place a series of white colored dots on a map. I've been able to place black dots using: > > plt.plot(x,y,color='k',marker='.',markersize=3.0) > You can change the colour with: plt.pyplot(x, y, color='g', marker='.', markersize=3.0) That will plot a green dot. > > The color option in this command does not plot the chosen color, only black. The command: > > plt.plot(x,y,'wo') > You can change the colour of the edge with the 'markeredgecolour' option, or 'mec' for short: plt.plot(x, y, 'wo', mec='w') Kablam! Big white Os with no black edge. You can also control the size of the marker there, too: plt.plot(x, y, 'wo', mec='w', markersize=10.0) > > places white dots with black around the edges. I see that the 'w' is for white and 'o' is for the symbol. I'd like to use the former command since that gives me control over marker size and a dot without a black edge. > > Lastly, it's not clear to me if I should be using plt.plot or just plot. Both work, and I don't know the difference. If you're using pylab, it doesn't matter: In [5]: print plot <function plot at 0x10cddbd70> In [6]: print plt.plot <function plot at 0x10cddbd70> They are *literally* the same function in memory. Hope this helps, Michael. Good luck! -- Damon McDougall http://www.damon-is-a-geek.com B2.39 Mathematics Institute University of Warwick Coventry West Midlands CV4 7AL United Kingdom |
|
From: Michael R. <raw...@ya...> - 2012-08-24 20:00:19
|
Relatively new user here. I need to place a series of white colored dots on a map. I've been able to place black dots using: plt.plot(x,y,color='k',marker='.',markersize=3.0) The color option in this command does not plot the chosen color, only black. The command: plt.plot(x,y,'wo') places white dots with black around the edges. I see that the 'w' is for white and 'o' is for the symbol. I'd like to use the former command since that gives me control over marker size and a dot without a black edge. Lastly, it's not clear to me if I should be using plt.plot or just plot. Both work, and I don't know the difference. |
|
From: John B. <b7...@gm...> - 2012-08-24 16:21:30
|
I have lat and lon as coordinates and to each point a value. So far I use contourf to plot. Am 24.08.2012 um 18:14 schrieb Benjamin Root <ben...@ou...>: > > > On Fri, Aug 24, 2012 at 11:57 AM, John Bluee <b7...@gm...> wrote: > Hi all > > I have to plot seismic data on a worldmap and use the Basemap framework to do it. > My dataset contains important data in the range of -1e-8 to -1e-14 and 1e-14 to 1e-9. Can I limit the plot to only display data in this range? > > thanks and greets > > > How are you plotting your data (plot, pcolor, scatter, etc?). Also, is that range the range of values in your arrays, or are they some sort of coordinate ranges? > > Cheers! > Ben Root > |
|
From: Benjamin R. <ben...@ou...> - 2012-08-24 16:14:47
|
On Fri, Aug 24, 2012 at 11:57 AM, John Bluee <b7...@gm...> wrote: > Hi all > > I have to plot seismic data on a worldmap and use the Basemap framework to > do it. > My dataset contains important data in the range of -1e-8 to -1e-14 and > 1e-14 to 1e-9. Can I limit the plot to only display data in this range? > > thanks and greets > > How are you plotting your data (plot, pcolor, scatter, etc?). Also, is that range the range of values in your arrays, or are they some sort of coordinate ranges? Cheers! Ben Root |
|
From: John B. <b7...@gm...> - 2012-08-24 15:58:08
|
Hi all I have to plot seismic data on a worldmap and use the Basemap framework to do it. My dataset contains important data in the range of -1e-8 to -1e-14 and 1e-14 to 1e-9. Can I limit the plot to only display data in this range? thanks and greets |
|
From: Jeff W. <jef...@no...> - 2012-08-24 15:40:31
|
On 8/24/12 8:46 AM, Carlos Grohmann wrote: > Hello all, > > I just did a fresh macports install, and installed > py27-matplotlib-basemap, so all dependencies were installed as well. > > After installing python, I did run port-select (or something like it) > to make sure I'm using macports python. > > My problem is that I can't run it: You are not running macports python (you're running Apple python). Try running /opt/local/bin/python27, and then import basemap. -Jeff > > > GuanoMac:~ guano$ python > Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> from mpl_toolkits.basemap import Basemap > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named basemap > > > Anyone experienced in this kind of installation could share hints? > > tks > > Carlos > > -- > Prof. Carlos Henrique Grohmann > Institute of Geosciences - Univ. of São Paulo, Brazil > - Digital Terrain Analysis | GIS | Remote Sensing - > > http://carlosgrohmann.com <http://carlosgrohmann.com/> > ________________ > Can't stop the signal. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Jeffrey S. Whitaker Phone : (303)497-6313 Meteorologist FAX : (303)497-6449 NOAA/OAR/PSD R/PSD1 Email : Jef...@no... 325 Broadway Office : Skaggs Research Cntr 1D-113 Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg |
|
From: George N. <gn...@gm...> - 2012-08-24 15:32:44
|
Hi, Macports python is currently 2.7.3. I don't think you are running macports python. Try /opt/local/python & see if you have the same problem. George Nurser On 24 August 2012 15:46, Carlos Grohmann <car...@gm...> wrote: > Hello all, > > I just did a fresh macports install, and installed py27-matplotlib-basemap, > so all dependencies were installed as well. > > After installing python, I did run port-select (or something like it) to > make sure I'm using macports python. > > My problem is that I can't run it: > > > GuanoMac:~ guano$ python > Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> from mpl_toolkits.basemap import Basemap > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named basemap > > > Anyone experienced in this kind of installation could share hints? > > tks > > Carlos > > -- > Prof. Carlos Henrique Grohmann > Institute of Geosciences - Univ. of São Paulo, Brazil > - Digital Terrain Analysis | GIS | Remote Sensing - > > http://carlosgrohmann.com > ________________ > Can’t stop the signal. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Francesco M. <fra...@gm...> - 2012-08-24 15:13:26
|
2012/8/24 Carlos Grohmann <car...@gm...>: > Hello all, > > I just did a fresh macports install, and installed py27-matplotlib-basemap, > so all dependencies were installed as well. > > After installing python, I did run port-select (or something like it) to > make sure I'm using macports python. > > My problem is that I can't run it: > > > GuanoMac:~ guano$ python > Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) > [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin > Type "help", "copyright", "credits" or "license" for more information. >>>> from mpl_toolkits.basemap import Basemap > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > ImportError: No module named basemap > > > Anyone experienced in this kind of installation could share hints? if you do import sys print sys.path you can check if the directory of basemap is in your path if not, you can add it both in the scritp/session appending/inserting/extending sys.path (which is a list): e.g.: sys.path.append( "dir/to/basemap" ) or in the .profile, .bash_profile or .bash_rc files (in this way is loaded in every session) export PYTHONPATH=$PYTHONPATH:dir/to/basemap cheers, Francesco > > tks > > Carlos > > -- > Prof. Carlos Henrique Grohmann > Institute of Geosciences - Univ. of São Paulo, Brazil > - Digital Terrain Analysis | GIS | Remote Sensing - > > http://carlosgrohmann.com > ________________ > Can’t stop the signal. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Carlos G. <car...@gm...> - 2012-08-24 14:47:15
|
Hello all, I just did a fresh macports install, and installed py27-matplotlib-basemap, so all dependencies were installed as well. After installing python, I did run port-select (or something like it) to make sure I'm using macports python. My problem is that I can't run it: GuanoMac:~ guano$ python Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from mpl_toolkits.basemap import Basemap Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named basemap Anyone experienced in this kind of installation could share hints? tks Carlos -- Prof. Carlos Henrique Grohmann Institute of Geosciences - Univ. of São Paulo, Brazil - Digital Terrain Analysis | GIS | Remote Sensing - http://carlosgrohmann.com ________________ Can’t stop the signal. |
|
From: Joe B. <ma...@jd...> - 2012-08-24 13:38:52
|
Thanks Ben, Works fine. Regards, Joseph David Borġ http://www.jdborg.com On 24 August 2012 13:41, Benjamin Root <ben...@ou...> wrote: > > On Fri, Aug 24, 2012 at 6:35 AM, Joe Borġ <ma...@jd...> wrote: > >> Hi, >> >> I've reinstalled numpy and the error from gcc has changed. Please see >> log, all the system information should be in there. >> >> > Matplotlib 1.1.1 does not work with py3k. We are just about ready to > release v1.2.0 which will work with py3k. Please feel free to checkout the > master branch on our github page and test it out before the release! > > Ben Root > > |
|
From: Benjamin R. <ben...@ou...> - 2012-08-24 12:41:43
|
On Fri, Aug 24, 2012 at 6:35 AM, Joe Borġ <ma...@jd...> wrote: > Hi, > > I've reinstalled numpy and the error from gcc has changed. Please see > log, all the system information should be in there. > > Matplotlib 1.1.1 does not work with py3k. We are just about ready to release v1.2.0 which will work with py3k. Please feel free to checkout the master branch on our github page and test it out before the release! Ben Root |
|
From: Joe B. <ma...@jd...> - 2012-08-24 10:35:58
|
Hi, I've reinstalled numpy and the error from gcc has changed. Please see log, all the system information should be in there. Regards, Joseph David Borġ http://www.jdborg.com |
|
From: Eric F. <ef...@ha...> - 2012-08-24 06:16:03
|
On 2012/08/23 6:52 PM, Andrew Nelson wrote: > Dear list, > apologies for what might be a simple question. I am creating an > application that uses matplotlib for plotting, using the Qt4Agg backend. > I can create the figures without a problem. > > However, I wish to save the state of the application, including the > graphs. The complicating factor is that the user may have altered the > appearance of the graphs via a NavigationToolbar. > > I have no problems saving the data that makes up the graphs, but how do > I save the properties of the graphs (line colour, linewidth, etc)? > I tried using matplotlib.artist.ArtistInspector(Line2D).properties(). > This gives a dictionary of all the properties. However, when I try to > pickle this I get picking errors: > > cPickle.PicklingError: Can't pickle <class > 'matplotlib.axes.AxesSubplot'>: attribute lookup > matplotlib.axes.AxesSubplot failed > > I am sure that there is an easy way of achieving this, I just can't see > it in the documentation. I appreciate any help the list is able to give me. Maybe there is not an easy way... See https://github.com/matplotlib/matplotlib/pull/1020. Eric > > regards, > Andrew > |
|
From: Andrew N. <and...@gm...> - 2012-08-24 04:52:14
|
Dear list, apologies for what might be a simple question. I am creating an application that uses matplotlib for plotting, using the Qt4Agg backend. I can create the figures without a problem. However, I wish to save the state of the application, including the graphs. The complicating factor is that the user may have altered the appearance of the graphs via a NavigationToolbar. I have no problems saving the data that makes up the graphs, but how do I save the properties of the graphs (line colour, linewidth, etc)? I tried using matplotlib.artist.ArtistInspector(Line2D).properties(). This gives a dictionary of all the properties. However, when I try to pickle this I get picking errors: cPickle.PicklingError: Can't pickle <class 'matplotlib.axes.AxesSubplot'>: attribute lookup matplotlib.axes.AxesSubplot failed I am sure that there is an easy way of achieving this, I just can't see it in the documentation. I appreciate any help the list is able to give me. regards, Andrew -- _____________________________________ Dr. Andrew Nelson _____________________________________ |
|
From: Fernando P. <fpe...@gm...> - 2012-08-23 18:27:31
|
Dear colleagues, next year's SIAM conference on Computational Science and Engineering, CSE'13, will take place in Boston, February 25-March 1 (http://www.siam.org/meetings/cse13), and for this version there will be a track focused on the topic of Big Data. This term has rapidly risen in recent discussions of science and even of mainstream business computing, and for good reasons. Today virtually all disciplines are facing a flood of quantitative information whose volumes have often grown faster than the quality of our tools for extracting insight from these data. SIAM hopes that CSE'13 will provide an excellent venue for discussing these problems, from the vantage point offered by a community whose expertise combines analytical insights, algorithmic development, software engineering and domain-specific applications. As part of this event, Titus Brown (http://ged.msu.edu) and I are organizing a minisymposium where we would like to have a group of presentations that address both novel algorithmic ideas and computational approaches as well as domain-specific problems. Data doesn't appear in a vacuum, and data from different domains presents a mix of common problems along with questions that may be specific to each; we hope that by engaging a dialog between those working on algorithmic and implementation questions and those with specific problems from the field, valuable insights can be obtained. If you would like to contribute to this minisymposium, please contact us directly at: "C. Titus Brown" <ct...@ms...>, "Fernando Perez" <Fer...@be...> with your name and affiliation, the title of your proposed talk and a brief description (actual abstracts are due later so an informal description will suffice for now), by Wednesday August 29. For more details on the submission process, see: http://www.siam.org/meetings/cse13/submissions.php Please forward this to any interested colleagues. Regards, Titus and Fernando. |
|
From: Nils G. <nil...@gm...> - 2012-08-23 16:33:43
|
Hi, I have noticed that matplotlib's plot_date() function occasionally places the label at the date (or month or year) end instead of the beginning. I attach a script illustrating the problem: I plot a range of y-values for a range of dates. The y-value 29 should be associated with 11 Nov 2011. In figure 1, left I am using UTC and everything is fine. In the right plot I am using the 'Europe/London' timezone and now the graph suggests that the y-value 29 is associated with 10 Nov 2011. When moving the mouse over the plot and watching the status bar at the bottom it suggest that indeed the label is placed at the date-end rather than the beginning. I have observed the same behaviour with month and year labels being shifted in non-UTC timezones. I have my time data as POSIX timestamps, so using datetime objects in plotting directly is not a (convenient) option. (In the sample code I use datetime only to generate example POSIX timestamps at midnight). Instead I would like to rely on the epoch2num() helper function supplied by matplotlib. I am using matplotlib-1.1.0, numpy-1.6.1. Any help appreciated, thanks, Nils. |
|
From: Benjamin R. <ben...@ou...> - 2012-08-22 17:27:48
|
On Wed, Aug 22, 2012 at 12:31 PM, Joe Borġ <ma...@jd...> wrote: > Not sure if this is an issue with an out-of-date GCC or if something else > is wrong. I've got 1.1.0 on no problem. > > $python setup.py build > ... > gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall > -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 > -I/software/Python/272/lib/python2.7/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. > -I/software/Python/272/include/python2.7 -c src/ft2font.cpp -o > build/temp.linux-x86_64-2.7/src/ft2font.o > In file included from > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:7, > from > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:14, > from src/ft2font.cpp:7: > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/npy_common.h:120:2: > error: #error npy_cdouble definition is not compatible with C99 complex > definition ! Please contact Numpy maintainers and give detailed information > about your compiler and platform > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/npy_common.h:127:2: > error: #error npy_cfloat definition is not compatible with C99 complex > definition ! Please contact Numpy maintainers and give detailed information > about your compiler and platform > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/npy_common.h:134:2: > error: #error npy_clongdouble definition is not compatible with C99 complex > definition ! Please contact Numpy maintainers and give detailed information > about your compiler and platform > In file included from > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:26, > from > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:14, > from src/ft2font.cpp:7: > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h: > In function 'int _import_array()': > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1226: > error: 'NPY_ABI_VERSION' was not declared in this scope > /software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1232: > error: 'NPY_API_VERSION' was not declared in this scope > error: command 'gcc' failed with exit status 1 > > $ gcc --version > gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6) > Copyright (C) 2010 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > Joe, This appears to be a problem with NumPy. I would suggest sending this email to the numpy-discussion list. Be sure to include detailed information about your compiler, OS, and your machine. Cheers! Ben Root |
|
From: Joe B. <ma...@jd...> - 2012-08-22 17:04:27
|
Not sure if this is an issue with an out-of-date GCC or if something else
is wrong. I've got 1.1.0 on no problem.
$python setup.py build
...
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1
-I/software/Python/272/lib/python2.7/site-packages/numpy/core/include
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
-I/software/Python/272/include/python2.7 -c src/ft2font.cpp -o
build/temp.linux-x86_64-2.7/src/ft2font.o
In file included from
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:7,
from
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:14,
from src/ft2font.cpp:7:
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/npy_common.h:120:2:
error: #error npy_cdouble definition is not compatible with C99 complex
definition ! Please contact Numpy maintainers and give detailed information
about your compiler and platform
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/npy_common.h:127:2:
error: #error npy_cfloat definition is not compatible with C99 complex
definition ! Please contact Numpy maintainers and give detailed information
about your compiler and platform
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/npy_common.h:134:2:
error: #error npy_clongdouble definition is not compatible with C99 complex
definition ! Please contact Numpy maintainers and give detailed information
about your compiler and platform
In file included from
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:26,
from
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:14,
from src/ft2font.cpp:7:
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:
In function 'int _import_array()':
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1226:
error: 'NPY_ABI_VERSION' was not declared in this scope
/software/Python/272/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1232:
error: 'NPY_API_VERSION' was not declared in this scope
error: command 'gcc' failed with exit status 1
$ gcc --version
gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Regards,
Joseph David Borġ
http://www.jdborg.com
|