[Matplotlib-users] problems with errorbar upper/lower limits

2009-02-13 Thread Larry Bradley
I'm plotting upper and lower limits via the lolims and uplims keywords to the errorbar function and have noticed two problems. First, the direction of the arrows produced by these keywords are opposite to one would expect, i.e. lolims=True should produce an upward-pointing arrow and uplims should

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread jason-sage
Ryan May wrote: >> > Try changing your plot limits. :) > > pylab.xlim(-3,3) > pylab.ylim(-3,3) > Aha! Perfect; thank you! I'll fix this in Sage now... Jason -- Open Source Business Conference (OSBC), March 24-

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 2:30 PM, wrote: > Eric Firing wrote: > >> Ryan May wrote: >> >>> On Fri, Feb 13, 2009 at 12:08 PM, >> jason-s...@creativetrax.com>> wrote: >>> >>> >>>A student of mine recently noticed that sometimes, quiver plots were >>>coming up empty (using the plot_vector_fiel

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread jason-sage
Eric Firing wrote: > Ryan May wrote: >> On Fri, Feb 13, 2009 at 12:08 PM, > > wrote: >> >> >> A student of mine recently noticed that sometimes, quiver plots were >> coming up empty (using the plot_vector_field function from Sage, >> which >> passes

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread Eric Firing
Ryan May wrote: > On Fri, Feb 13, 2009 at 12:08 PM, > wrote: > > > A student of mine recently noticed that sometimes, quiver plots were > coming up empty (using the plot_vector_field function from Sage, which > passes everything on to quiver). Upo

Re: [Matplotlib-users] quiver and Inf values

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 12:08 PM, wrote: > > A student of mine recently noticed that sometimes, quiver plots were > coming up empty (using the plot_vector_field function from Sage, which > passes everything on to quiver). Upon investigation, we saw that some > of the array entries passed in were

Re: [Matplotlib-users] x axis & imshow...

2009-02-13 Thread Michael Droettboom
You can pass "extent=(left, right, bottom, top)" to imshow to specify what the pixels in the array correspond to in data space. Mike Lewis, Ambrose J. wrote: > > Hi All: > > I’m working on a wxPython GUI that uses matplotlib. > > This program reads “chunks” of a data file into a numpy array and

Re: [Matplotlib-users] x axis & imshow...

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 12:01 PM, Lewis, Ambrose J. < ambrose.j.le...@saic.com> wrote: > Hi All: > > I'm working on a wxPython GUI that uses matplotlib. > > This program reads "chunks" of a data file into a numpy array and than > plots it using imshow. > > The first chunk works great. But, when

[Matplotlib-users] quiver and Inf values

2009-02-13 Thread jason-sage
A student of mine recently noticed that sometimes, quiver plots were coming up empty (using the plot_vector_field function from Sage, which passes everything on to quiver). Upon investigation, we saw that some of the array entries passed in were infinity because of where we happened to evalua

[Matplotlib-users] x axis & imshow...

2009-02-13 Thread Lewis, Ambrose J.
Hi All: I'm working on a wxPython GUI that uses matplotlib. This program reads "chunks" of a data file into a numpy array and than plots it using imshow. The first chunk works great. But, when I load chunks 2 to N, how can I specify the different values for the labels on the x axis? I trie

Re: [Matplotlib-users] problem in cbook.py

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 3:24 AM, Richard Jennings wrote: > Hi, > > I am not expert in matplotlib, I use it to generate plots for a management > performance tool. > > I have just upgraded this application from 0.98.3 to 0.98.5 and the > upgrade broke the application in 3 places: > > > > 1). In u

Re: [Matplotlib-users] executing function when view interval changes

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 6:24 AM, John Hunter wrote: > On Thu, Feb 12, 2009 at 2:13 PM, Ryan May wrote: > > On Wed, Feb 11, 2009 at 7:30 PM, John Hunter wrote: > >> > >> On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote: > > > Well, I checked in an example that shows the functionality. The probl

Re: [Matplotlib-users] problem in cbook.py

2009-02-13 Thread Michael Droettboom
I'm just commenting on the points I know about below -- leaving the rest to others. Richard Jennings wrote: > > 2). Backend_svg.py._get_style(): in 0.98.3, stroke_width is a string > and in 0.98.5 it is a float. I set the styles by reading attributes in > an xml file and so the strings worked.

Re: [Matplotlib-users] executing function when view interval changes

2009-02-13 Thread John Hunter
On Thu, Feb 12, 2009 at 2:13 PM, Ryan May wrote: > On Wed, Feb 11, 2009 at 7:30 PM, John Hunter wrote: >> >> On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote: > Well, I checked in an example that shows the functionality. The problem is > that using these events doesn't follow the standard event

[Matplotlib-users] Issues with time display

2009-02-13 Thread collern2
Hi, I've managed to take the contents of my CSV file and display it with matplotlib. I'm having some issues with the way my X-axis is being displayed. For the X-axis, I pass in a list that filled with datetime objects, an example of one element on the list: datetime.datetime(2007, 12, 17, 20, 2

[Matplotlib-users] problem in cbook.py

2009-02-13 Thread Richard Jennings
Hi, I am not expert in matplotlib, I use it to generate plots for a management performance tool. I have just upgraded this application from 0.98.3 to 0.98.5 and the upgrade broke the application in 3 places: 1). In units.py, Registry.get_converter(): this method has been made recursive in