[Matplotlib-users] Matplotlib hi

2011-05-31 Thread zane . selvans
Matplotlib you won't be disappointed http://g.msn.com.br/BR9/1369.0?http://cnbc7.com/news -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery

[Matplotlib-users] quiver() color arrays?

2009-08-07 Thread Zane Selvans
Hey there, I'm trying to plot a bunch-o-vectors, colored red or blue, depending on whether their magnitude is positive or negative (they represent stresses), and I'm doing something like this: mag1 = evals[:,0] ex1 = evecs[:,0,1] ey1 = evecs[:,0,0] C1 = np.where(mag1 = 0, 'red', 'blue') mag2

[Matplotlib-users] Wrong download link for MPL 0.99?

2009-08-06 Thread Zane Selvans
For some reason the download link on the Matplotlib pages is pointing to Basemap 0.99.4 instead of Matplotlib 0.99.0. I did a clean checkout of the v0_99_0 tag: svn checkout https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/tags/v0_99_0 and built/installed it, and that seems to have

Re: [Matplotlib-users] Axes.frame vs. Axes.spines in SVN Basemap and Matplotlib? (was New contourf()...)

2009-06-16 Thread Zane Selvans
, Zane Selvans wrote:   Yes.  By far the worst of these behaviors is the macosx GUI output.  I could see the other ones just being the way it's supposed to look. Here's a summary: backend: macosx; path.simplify: (false|true) GUI = black borders to drawn polygons (incl. contour region crossing

Re: [Matplotlib-users] New contourf() drawing polygon boundaries for some reason?

2009-06-15 Thread Zane Selvans
an associated GUI, you need to use the savefig() command and provide a filename, rather than using show(). Cheers, Mike Zane Selvans wrote: Um, yeah.  So my response got bounced because of the attachment.  Take 2: For some reason my script bombed when I switched to the Agg backend, trying

Re: [Matplotlib-users] Quiver plot of a netcdf file

2009-06-15 Thread Zane Selvans
Okay, so in the variables section, what you've got is a list of things which vary as a function of the dimensions listed in the previous section (time, nsr_delta, lat, lon). I don't remember which of the NetCDF file reading libraries you're using, but using Jeff's older netCDF3 interface, you

Re: [Matplotlib-users] New contourf() drawing polygon boundaries for some reason?

2009-06-12 Thread Zane Selvans
this behavior if you switch to the Agg backend?  That's the backend used to generate the images in the gallery.  If there's a difference there, that would seem to suggest some tweaking of the macosx backend (which is still relatively new) is in order. Mike Zane Selvans wrote: I just installed

Re: [Matplotlib-users] New contourf() drawing polygon boundaries for some reason?

2009-06-12 Thread Zane Selvans
(). Cheers, Mike Zane Selvans wrote: Um, yeah.  So my response got bounced because of the attachment.  Take 2: For some reason my script bombed when I switched to the Agg backend, trying to display to the screen (it said Figure has no method show()) So I output the plot as both a PDF and a PNG

Re: [Matplotlib-users] New contourf() drawing polygon boundaries for some reason?

2009-06-12 Thread Zane Selvans
and provide a filename, rather than using show(). Cheers, Mike Zane Selvans wrote: Um, yeah.  So my response got bounced because of the attachment.  Take 2: For some reason my script bombed when I switched to the Agg backend, trying to display to the screen (it said Figure has no method show

[Matplotlib-users] New contourf() drawing polygon boundaries for some reason?

2009-06-11 Thread Zane Selvans
I just installed the latest SciPy Superpack in order to get access to the scipy.spatial.KDTree class, and discovered that for some reason now when I use contourf() lines get drawn at the boundaries between the filled contours. Additionally, there is always a single vertical line crossing from

Re: [Matplotlib-users] least squares fitting of great circle to points on a sphere

2009-04-21 Thread Zane Selvans
On Fri, Aug 8, 2008 at 10:35 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Mon, Aug 4, 2008 at 11:48 AM, Zane Selvans z...@ideotrope.org wrote: Does anyone out there happen to know a simple algorithm for least squares fitting a great circle to a given set of lat/lon points

[Matplotlib-users] mathtext acting weird under macosx backend

2008-12-18 Thread Zane Selvans
, and deleted the font cache from my .matplotlib directory, restarted, and the problem persisted. Any suggestions? I don't have any of the alternate tex rendering options set in my rcfile, just using plain mathtext. -- Zane Selvans Amateur Earthling z...@ideotrope.org 303/815-6866 http

[Matplotlib-users] Legends for multi-histograms

2008-12-10 Thread Zane Selvans
afterward. Would make legend creation easier anyway. Just a suggestion, Zane -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F -- SF.Net email

[Matplotlib-users] Unable to manipulate tick labels Basemap

2008-11-26 Thread Zane Selvans
something like: for ticklabel in ax.get_xticklabels(): ticklabel.set_size('x-small') to re-size them after the fact, but on the Basemap axes, get_xticklabels() returns a zero length list. Does anybody know where are these things hiding? Thanks! Zane -- Zane Selvans Amateur Earthling [EMAIL

[Matplotlib-users] Plotting w/ cyclic boundaries

2008-11-26 Thread Zane Selvans
it being more generally useful when dealing with a periodic space where what you're interested in is the phase. Or maybe this already exists and I'm just not seeing it? -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

[Matplotlib-users] Problems with, LaTeX symbols, axes rescaling

2008-11-24 Thread Zane Selvans
when I do a figure.show() at the end of the script. Some of the lines will draw, but not all of them. Is this a familiar problem? Thanks for any suggestions... Zane -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

Re: [Matplotlib-users] Problems with, LaTeX symbols, axes rescaling

2008-11-24 Thread Zane Selvans
-- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based

Re: [Matplotlib-users] Problems with LaTeX symbols

2008-11-24 Thread Zane Selvans
only has 99 sub-entries. But maybe they aren't supposed to be the same? Dunno. So for now I can only get my math symbols to render with text.usetext turned on. I'll read up on the text formatters. Thanks for all your help! Zane -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815

Re: [Matplotlib-users] Filling between curves conditionally

2008-11-23 Thread Zane Selvans
at http://macinscience.org Unfortunately some of the versions of stuff being pulled in there are kind of stale it looks like. Maybe I should give it another go from source or pre-built SVN binaries. Has it gotten any easier lately? Zane -- Zane Selvans Amateur Earthling [EMAIL PROTECTED

Re: [Matplotlib-users] Filling between curves conditionally

2008-11-23 Thread Zane Selvans
of intersection between the functions being filled_between? Or maybe just by increasing the number of vertices, though I assume that would slow things down. -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

[Matplotlib-users] Filling between curves conditionally

2008-11-22 Thread Zane Selvans
Does anybody know of an easy way to take two intersecting curves, A(x) and B(x), and fill the areas between them only when A(x) B(x) and not when A(x) B(x)? -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

Re: [Matplotlib-users] Multi-histogram example generates errors

2008-11-13 Thread Zane Selvans
, but having this kind of disconnect between what people have installed, and what the default doc refers to, will probably create other headaches too. Just my $0.02, Zane -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

[Matplotlib-users] Multi-histogram example generates errors

2008-11-12 Thread Zane Selvans
array(a, dtype, copy=False, order=order) 231 232 def asanyarray(a, dtype=None, order=None): ValueError: setting an array element with a sequence. -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-17 Thread Zane Selvans
gunk that's probably not supposed to be getting through to the web...: That seems to have been fixed in the meantime. Still seeing it? Yep, looks good. Thanks for all your work! -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

[Matplotlib-users] limiting theta in polar axis plots

2008-10-17 Thread Zane Selvans
of the examples or documentation though. If it's not possible now, I think it would be a wonderful addition. Thanks, Zane -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

Re: [Matplotlib-users] limiting theta in polar axis plots

2008-10-17 Thread Zane Selvans
/windrose-OO-td16298025.html but with a mind toward a particular kind of application (windrose diagrams obviously :). But I think allowing users to specify (thetamin, thetamax, offset) would be a very generally applicable improvement. Thanks again, Zane -- Zane Selvans Amateur Earthling

Re: [Matplotlib-users] ANN: matplotlib website 1.0

2008-10-16 Thread Zane Selvans
mailing lists .r6221 You can file bugs, patches and feature requests on the sourceforge tracker, but it is a good idea to ping us on the mailing list too. -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

Re: [Matplotlib-users] Figures missing from matplotlib documentation?

2008-10-13 Thread Zane Selvans
On Oct 9, 2008, at 12:55 PM, John Hunter wrote: On Thu, Oct 9, 2008 at 2:40 PM, Zane Selvans [EMAIL PROTECTED] wrote: I too often feel like I'm just hacking my way around in Matplotlib, without understanding how it is actually supposed to be used (i.e. how it was designed to work

Re: [Matplotlib-users] How do I make a legend for Line2D ob jects in Basemap, colored using a colormap?

2008-10-09 Thread Zane Selvans
Zane Selvans [EMAIL PROTECTED] writes: I'm plotting a bunch of lines on a map. They're being colored according to the value of an attribute associated with the objects they represent, using a colormap. However, I also need to create a colorbar to act as a legend, describing what

Re: [Matplotlib-users] How do I make a legend for Line2D objects in Basemap, colored using a colormap?

2008-10-09 Thread Zane Selvans
On Oct 9, 2008, at 7:08 AM, Ryan May wrote: Zane Selvans wrote: Zane Selvans [EMAIL PROTECTED] writes: I also need to create a colorbar to act as a legend, describing what the colors of the lines means, in terms of values associated with that attribute. I've found

[Matplotlib-users] How do I make a legend for Line2D objects in Basemap, colored using a colormap?

2008-10-08 Thread Zane Selvans
, but I don't see how to do it in the documentation anywhere. Thanks for any insight you might have... Zane -- Zane Selvans Amateur Earthling [EMAIL PROTECTED] 303/815-6866 http://zaneselvans.org PGP Key: 55E0815F

Re: [Matplotlib-users] Slow drawing of many lines in Basemap

2008-08-25 Thread Zane Selvans
On Aug 22, 2008, at 5:08 AM, Jeff Whitaker wrote: Zane Selvans wrote: I'm drawing several hundred lines at a time, each consisting of 10-100 points, and it takes a couple of minutes for them all to display, which makes me think I must be doing something stupid. Zane: You can set up

[Matplotlib-users] Slow drawing of many lines in Basemap

2008-08-20 Thread Zane Selvans
sure there is and I'm just being dense. Argh. -- Zane Selvans Amateur Earthling http://zaneselvans.org [EMAIL PROTECTED] 303/815-6866 PGP Key: 55E0815F - This SF.Net email is sponsored by the Moblin Your Move Developer's

[Matplotlib-users] Using OGR/GDAL objects with Basemap

2008-08-06 Thread Zane Selvans
... Thanks! -- Zane Selvans Amateur Earthling http://zaneselvans.org [EMAIL PROTECTED] 303/815-6866 PGP Key: 55E0815F - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based

Re: [Matplotlib-users] Using OGR/GDAL objects with Basemap

2008-08-06 Thread Zane Selvans
there to build on already... Thanks! -- Zane Selvans Amateur Earthling http://zaneselvans.org [EMAIL PROTECTED] 303/815-6866 PGP Key: 55E0815F Zane: You can use Basemap to plot GIS data you've read in with ogr/ gdal. There's an example included with basemap (testgdal.py). I'm not a gdal

[Matplotlib-users] least squares fitting of great circle to points on a sphere

2008-08-04 Thread Zane Selvans
Does anyone out there happen to know a simple algorithm for least squares fitting a great circle to a given set of lat/lon points on a sphere? Seems like it might not be a crazy thing to add to the library. Thanks! Zane -- Zane Selvans Amateur Earthling http://zaneselvans.org [EMAIL

[Matplotlib-users] cyclic longitude in Basemap

2008-08-01 Thread Zane Selvans
to the other, connecting the two portions of the feature. There's this function addcyclic, but I don't think it does what I want. Actually, I'm not exactly clear on what it does. Thanks for any insight you might have, Zane -- Zane Selvans Amateur Earthling http://zaneselvans.org [EMAIL

Re: [Matplotlib-users] from pylab import nx?

2008-03-18 Thread Zane Selvans
? The NetworkX guys would probably know. -- Zane Selvans Amateur Human [EMAIL PROTECTED] 303/815-6866 PGP Key: 55E0815F begin:vcard fn:Zane Selvans n:Selvans;Zane org:Earthlings adr:;;200 S. Parkwood Ave.;Pasadena;CA;91107;USA email;internet:[EMAIL PROTECTED] title:Amateur Human tel;cell:(303) 815

[Matplotlib-users] Analyzing unprojected (spherical, geodetic) vector data and Matplotlib

2008-03-14 Thread Zane Selvans
, etc. Thanks for any recommendations you might have, Zane -- Zane Selvans Amateur Human [EMAIL PROTECTED] 303/815-6866 PGP Key: 55E0815F begin:vcard fn:Zane Selvans n:Selvans;Zane org:Earthlings adr:;;200 S. Parkwood Ave.;Pasadena;CA;91107;USA email;internet:[EMAIL PROTECTED] title:Amateur Human

[Matplotlib-users] NetCDF input/output/plotting using Matplotlib w/ Basemap

2008-03-08 Thread Zane Selvans
Python package to use? Or issues I should consider? Thanks for any insight, Zane -- Zane Selvans Amateur Human [EMAIL PROTECTED] 303/815-6866 PGP Key: 55E0815F begin:vcard fn:Zane Selvans n:Selvans;Zane org:Earthlings adr:;;200 S. Parkwood Ave.;Pasadena;CA;91107;USA email;internet:[EMAIL