Re: [Matplotlib-users] Getting started with bar charts

2006-08-22 Thread Jouni K Seppanen
Derek Hohls [EMAIL PROTECTED] writes: In [9]: ax.set_xlim()? I get Object `ax.set_xlim()` not found. You need to do ax.set_xlim? without the parentheses. You suggested: The list you want is precisely the output of the getp command. But for the getp? , I get: I meant the output of

[Matplotlib-users] numpy-1.0b-compatible release?

2006-08-22 Thread Sven Schreiber
Hi all, I'm using recently changed numpy features, so I have not been able to use matplotlib in a while, hoping for a release compatible with numpy 1.0beta. I guess I could also install Numeric and use that for matplotlib in the meantime, as a workaround. But from posts on the devel list it

Re: [Matplotlib-users] numpy-1.0b-compatible release?

2006-08-22 Thread Bill Baxter
array.tolist() can be used as a temporary workaround.i.e. tack .tolist() onto the end of any numpy.array arguments to matplotlib functions.--bbOn 8/22/06, Sven Schreiber [EMAIL PROTECTED] wrote: Hi all,I'm using recently changed numpy features, so I have not been able touse matplotlib in a while,

[Matplotlib-users] quiver2

2006-08-22 Thread Flavio Coelho
Hi,I am tring to figure out how to use the c argument to the quiver2 function.I want to be able to color my arrows proportionally to their size. I have tried this and it doesn' t work as I imagined: c = sqrt((array(u)-array(x))**2+(array(v)-array(y))**2)quiver2(x,y,u,v,c)the docstring on quiver2

Re: [Matplotlib-users] extend for colorbar

2006-08-22 Thread James Boyle
Thanks, Eric Ok, I ran the image_masked.py and all went OK BUT if I change line 34 of image_masked.py: im = imshow(Zm, interpolation='bilinear', cmap=palette, norm = colors.normalize(vmin = -1.0, vmax = 1.0, clip = False), origin='lower', extent=[-3,3,-3,3]) to im =

Re: [Matplotlib-users] extend for colorbar

2006-08-22 Thread Philip Austin
James Boyle writes: Thanks, Eric to im = contourf(Zm,cmap=palette) I do not get the over/under pointers on the end of the colorbar. Does this feature not work with contourf - Or am I doing something wrong. Here's a code segment that works for me: vmin,vmax=(280,305)

[Matplotlib-users] axes.toggle_log_lineary resets user-defined ticks

2006-08-22 Thread Philip Austin
I was a little suprised to learn that axes.toggle_log_lineary() overwrites user-supplied tick locators and formatters. My naive assumption was that it would toggle only the semilog property and leave other attributes unchanged. Perhaps this could be mentioned in the docstring? regards, Phil

Re: [Matplotlib-users] quiver2

2006-08-22 Thread Eric Firing
Flavio Coelho wrote: Hi, I am tring to figure out how to use the c argument to the quiver2 function. I want to be able to color my arrows proportionally to their size. I have tried this and it doesn' t work as I imagined: c = sqrt((array(u)-array(x))**2+(array(v)-array(y))**2) The

Re: [Matplotlib-users] quiver2

2006-08-22 Thread Flavio Coelho
Thanks Eric,in fact it depends on if x,y are 0 or not. But I got it to work it now. thanks,FlávioOn 8/22/06, Eric Firing [EMAIL PROTECTED] wrote:Flavio Coelho wrote: Hi, I am tring to figure out how to use the c argument to the quiver2 function. I want to be able to color my arrows

[Matplotlib-users] Canvas change events?

2006-08-22 Thread Richard Harvey Chapman
Briefly, is there a way to get a callback in the event that the canvas has been redrawn (e.g. from a zoom or pan)? matplotlib 0.86.2 python 2.4.1 wxPython 2.6.2.1 Mac OS X.4.7 I draw a circle at a certain point. I let the user drag that point to a new location. However, if the plot is