Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Christopher Barker
Jeff Whitaker wrote: > On 5/24/10 10:24 AM, Christopher Barker wrote: >> I need to be able to draw a filled polygon from coordinates in memory, >> for instance, but didn't see a way to do this directly. > Chris: If you have the map projection coordinates of the polygon, nope -- we've got lat-lo

Re: [Matplotlib-users] is this a bug?

2010-05-24 Thread Eric Firing
On 04/09/2010 06:44 AM, Mathew Yeates wrote: > Can anyone verify this? If so, I'll submit it to the tracker. > > The following works without the --pylab switch but not with it. The error I > get is some how related to a call to get the active figure which returns > None. > > C:\Python26\lib\site-p

Re: [Matplotlib-users] plot_date bug.

2010-05-24 Thread Eric Firing
On 05/24/2010 07:08 AM, Dharhas Pothina wrote: > Hi, > > I'm trying to use plot_date to plot some USGS daily flow data. I seem to have > hit a bug in the plotting where large spikes in data are not being plotted at > all scales. > It's the known path simplification bug, which has been fixed in s

Re: [Matplotlib-users] setting zorder for basemap.imshow(); overlay on continents

2010-05-24 Thread Eric Firing
On 05/24/2010 07:43 AM, Jeff Whitaker wrote: > On 5/24/10 10:09 AM, P. R.M. wrote: >> Hi, >> Im trying to create a precipitation contour plot using imshow() and >> basemap. >> Id like to draw the imshow() plot so that it overlays the filled >> continents, yet NOT the continental outlines. >> unfort

Re: [Matplotlib-users] setting zorder for basemap.imshow(); overlay on continents

2010-05-24 Thread P. R.M.
Jeff, would it be possible to achieve this type of layering using multiple overlaid (sub) plots? If so, how would I go about this? Send do you know of any way I might be able to create a custom 'hack' into the imshow code (within the matplotlib core) ??? thanks again, p.romero D

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread P. R.M.
hello, please ignore my last response; I responded to the wrong mailing list message... From: romero...@hotmail.com To: jsw...@fastmail.fm; chris.bar...@noaa.gov; matplotlib-users@lists.sourceforge.net Date: Mon, 24 May 2010 13:10:23 -0500 Subject: Re: [Matplotlib-users] [matplotlib-devel] basem

Re: [Matplotlib-users] eps/pdf/svg contourf contours don't overlap properly with high resolution data

2010-05-24 Thread Eric Firing
On 05/24/2010 04:55 AM, Benjamin Root wrote: > > On Thu, May 20, 2010 at 1:06 AM, ayuffa > wrote: > > > Does anyone have another fix for this problem that DOES NOT produce HUGE > PDF/EPS files? > > I believe that the latest SVN revision should allow you to set > ra

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread P. R.M.
Jeff, would it be possible to achieve this type of layering using multiple overlaid (sub) plots? If so, how would I go about this? do you know of any way I might be able to create a custom 'hack' into the imshow code (within the matplotlib core) ??? thanks again, p.romero > Date: Mon, 24 May

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Jeff Whitaker
On 5/24/10 8:45 AM, Benjamin Root wrote: On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker > wrote: On 5/21/10 3:57 PM, Benjamin Root wrote: I did some more digging and I think I have a hypothesis for what is happening. There is only one main differe

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Jeff Whitaker
On 5/24/10 10:24 AM, Christopher Barker wrote: > Benjamin Root wrote: > >> On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker> Ben: That's why you should use the basemap methods where possible >> (they handle these things for you). >> >> >> Yeah, that wasn't possible in my case. In addi

Re: [Matplotlib-users] setting zorder for basemap.imshow(); overlay on continents

2010-05-24 Thread Jeff Whitaker
On 5/24/10 10:09 AM, P. R.M. wrote: Hi, Im trying to create a precipitation contour plot using imshow() and basemap. Id like to draw the imshow() plot so that it overlays the filled continents, yet NOT the continental outlines. unfortunately, it appears that imshow()'s graphics are always drawn

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Christopher Barker
Benjamin Root wrote: > On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker Ben: That's why you should use the basemap methods where possible > (they handle these things for you). > > > Yeah, that wasn't possible in my case. In addition, not all pyplot > plotting functions are available (no

[Matplotlib-users] setting zorder for basemap.imshow(); overlay on continents

2010-05-24 Thread P. R.M.
Hi, Im trying to create a precipitation contour plot using imshow() and basemap. Id like to draw the imshow() plot so that it overlays the filled continents, yet NOT the continental outlines. unfortunately, it appears that imshow()'s graphics are always drawn before everything else, so its 'zord

[Matplotlib-users] exponential notation in axis lost?

2010-05-24 Thread Pau
Dear all, I am producing some plots and in many of them I have in the y-axis typically 0.1 0.3 ... 0.9 In previous versions of matplotlib this would go into a 1, 3 9 and then a x10^-4 close to the top. This was very nice. This feature seems to be lost, at least with the defa

Re: [Matplotlib-users] eps/pdf/svg contourf contours don't overlap properly with high resolution data

2010-05-24 Thread Benjamin Root
On Thu, May 20, 2010 at 1:06 AM, ayuffa wrote: > > Does anyone have another fix for this problem that DOES NOT produce HUGE > PDF/EPS files? > > I believe that the latest SVN revision should allow you to set rasterized=True for the call to contourf. I don't know if the relevant code has been che

Re: [Matplotlib-users] [matplotlib-devel] basemap domain changes on pyplot call

2010-05-24 Thread Benjamin Root
On Fri, May 21, 2010 at 5:16 PM, Jeff Whitaker wrote: > > On 5/21/10 3:57 PM, Benjamin Root wrote: > > I did some more digging and I think I have a hypothesis for what is > happening. > > There is only one main difference between a call to .drawstates() and > .readshapefiles() with respect to loa

[Matplotlib-users] overlapping text in pie plot

2010-05-24 Thread Fredrik Pihl
Hi, My boss asked me to provide a list of the source-code distribution per folder in a project. Using cloc http://cloc.sourceforge.net/ and some python give me all the numbers. The problem comes when using pie to display the result, since many folders have a small distribution, labels are printed