Re: [Matplotlib-users] Colormap.__call__ is slow

2008-10-17 Thread João Luís Silva
Eric Firing wrote: > > Some time in the last year I made changes in mpl and in numpy to speed > this up (the colormapping). What versions of mpl and numpy are you using? > > Eric Sorry, I was still using matplotlib 0.91.4 (numpy 1.1.0). I upgraded to 0.98.3 and now the Colormap.__call__ is 5

Re: [Matplotlib-users] Colormap.__call__ is slow

2008-10-17 Thread Eric Firing
João Luís Silva wrote: > Hello all, > > I'm creating a python application what does some calculation and > displays the result as two imshow() with respective colorbars as the > calculation progresses. Each array is ~8192x50. Updating the image is > slow, so I only update every 2 seconds or so,

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

2008-10-17 Thread Zane Selvans
On Oct 17, 2008, at 11:06 AM, Michael Droettboom wrote: No, it's not possible now. Just so I'm clear -- you're suggesting plotting on a wedge from theta_1 to theta_2? Seems doable with a little work. Yes, exactly. For instance if I wanted to make a polar bar chart showing the distribu

[Matplotlib-users] fill between curves on log scale?

2008-10-17 Thread dayglopirate
I can fill between curves using either: xs, ys = poly_between(x, y1, y2) ax = gca() ax.fill(xs,ys, facecolor='b', alpha=0.5) or xs = concatenate((x,x[::-1])) ys = concatenate((y1,y2[::-1])) p = fill(xs,ys,facecolor='b', alpha=0.5) giving http://www.nabble.com/file/p20038095/good.png But, i

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

2008-10-17 Thread Michael Droettboom
No, it's not possible now. Just so I'm clear -- you're suggesting plotting on a wedge from theta_1 to theta_2? Seems doable with a little work. Mike Zane Selvans wrote: > Is there any way to limit the theta extent in a polar axis plot? > > There are a variety of angular contexts in which 360

[Matplotlib-users] limiting theta in polar axis plots

2008-10-17 Thread Zane Selvans
Is there any way to limit the theta extent in a polar axis plot? There are a variety of angular contexts in which 360 degrees are not necessary. To convey the orientation of an undirected line, you need only 0-180 degrees. The minimum separation between two intersecting lines only ranges

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

2008-10-17 Thread Zane Selvans
First, are there plans to eventually embed autogenerated plots in the the "examples" section (http://matplotlib.sourceforge.net/examples/ ) in the same way that they're embedded within the user guide? There are plans to do that, and probably to

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

2008-10-17 Thread Scott Sinclair
> "John Hunter" <[EMAIL PROTECTED]> 10/16/08 6:39 PM > We've been working behind the scenes on a new documentation system for > matplotlib, which integrates the web site, API documentation and PDF > As an example we can include plots in our API documentation, see > > http://matplotlib.sourceforg

[Matplotlib-users] Colormap.__call__ is slow

2008-10-17 Thread João Luís Silva
Hello all, I'm creating a python application what does some calculation and displays the result as two imshow() with respective colorbars as the calculation progresses. Each array is ~8192x50. Updating the image is slow, so I only update every 2 seconds or so, but even doing this a significant

Re: [Matplotlib-users] Can't Import Pylab on XP - runtime error.

2008-10-17 Thread Michael Droettboom
I'm not a regular Windows user, so I'm probably not of much help, but... It's trying to write a default .matplotlibrc file to C:\ Is that directory writable, by the user that is running matplotlib? Mike David Springate wrote: > > Hi, > > I am a fairly new Python user and am trying to set up m

[Matplotlib-users] Can't Import Pylab on XP - runtime error.

2008-10-17 Thread David Springate
Hi, I am a fairly new Python user and am trying to set up matplot lib to work with scipy as an alternative to matlab. I installed matplotlib on my home pc with no problems but I followed the same protocol on my work pc and got the following error when I tried to call in "From pylab import *" :

[Matplotlib-users] Example animation_blit.py Sometimes Works

2008-10-17 Thread Kenneth Loafman
The title says it all. I need the simplest blit animation I can find and when it works animation_blit.py works quite well, but sometimes it comes up and runs to completion at almost 400 FPS, other times it comes up and nothing is drawn at all except an empty plot. Ubuntu Hardy matplotlib 0.98.

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

2008-10-17 Thread Michael Droettboom
This has now been fixed in SVN. index.html is the only page that includes hand-written HTML. If you see any errors of this nature on other pages, please file bugs with Sphinx and/or docutils. Cheers, Mike Xavier Gnata wrote: > Looks great but there are too many errors: > http://validator.w3.o

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

2008-10-17 Thread Michael Droettboom
Zane Selvans wrote: > Wow! The new site looks beautiful. Thank you! > > The apparent lack of searchable, online, well organized, > cross-referenced documentation has been my main frustration with > Matplotlib. I'm very glad it's being worked on. > > A couple of quick things: > > First, are the

[Matplotlib-users] contour legend

2008-10-17 Thread Jakub Urban
Hello everybody! I'm trying to make a contour plot and add a legend for it. The code is basically --- from numpy import * from matplotlib.pyplot import * # put anything into x,y,z arrays ctr = contour(x,y,z) # plots ok contours of z(x,y) ctr.collections[0].set_label('z') legend() show() --- The l