[Matplotlib-users] secondary axis same as primary with different label

2007-11-20 Thread Bryan Fodness
I would like to have a secondary y-axis that has the same scale, but a different label. Also, I would like to draw a dashed line down the center of the plot. I have used, ax1 = pcolor(a, shading='flat', cmap=cm.gray_r) title('Intensity Pattern') xlabel('Distance') ylabel('Leaf B') ax2=twinx() y

Re: [Matplotlib-users] imshow zorder

2007-11-20 Thread Eric Firing
Jeff Whitaker wrote: > If I draw two images with imshow, then set_zorder for one of them to be > higher than the other, should that one be the one that displays? Jeff, It is a wart. Images are handled separately from other artists, and always drawn first, either as a composite or in the order

[Matplotlib-users] imshow zorder

2007-11-20 Thread Jeff Whitaker
If I draw two images with imshow, then set_zorder for one of them to be higher than the other, should that one be the one that displays? for example, with from pylab import * delta = 0.025 x = y = arange(-3.0, 3.0, delta) X, Y = meshgrid(x, y) Z1 = bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.0) Z2

Re: [Matplotlib-users] pcolor

2007-11-20 Thread Eric Firing
John Hunter wrote: > On Nov 19, 2007 10:08 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: >> Bryan Fodness wrote: >>> I would like to use pcolor with the colors going from white (zero >>> values) to black (largest value). > >> pcolor(a, shading = 'flat', cmap=cm.binary) > > It may not be a binary m

Re: [Matplotlib-users] saving figures

2007-11-20 Thread John Hunter
On Nov 20, 2007 10:43 AM, Jordan Atlas <[EMAIL PROTECTED]> wrote: > Can someone recomend a way to save the data in such a way that the > columns (or rows) are labeled? In otherwords, it would be nice to be > able to open the saved data and know what each row is without having to > refer to the sc

Re: [Matplotlib-users] saving figures

2007-11-20 Thread Jordan Atlas
Can someone recomend a way to save the data in such a way that the columns (or rows) are labeled? In otherwords, it would be nice to be able to open the saved data and know what each row is without having to refer to the script that created it. (referring to the creating script feels error p

Re: [Matplotlib-users] pcolor

2007-11-20 Thread John Hunter
On Nov 19, 2007 10:08 PM, Jeff Whitaker <[EMAIL PROTECTED]> wrote: > Bryan Fodness wrote: > > I would like to use pcolor with the colors going from white (zero > > values) to black (largest value). > pcolor(a, shading = 'flat', cmap=cm.binary) It may not be a binary map you want (that has just tw

Re: [Matplotlib-users] problem with imshow

2007-11-20 Thread Michael Droettboom
Which version(s) of matplotlib are you using (on both platforms)... Cheers, Mike Jun She wrote: > Dear matplotlib users, > > The operating system of my PC is Ubuntu dapper. > I installed matplotlib with Python 2.4. > > When I use /imshow/ with /axi