[Matplotlib-users] reversing the y-axis with contourf -- bug?

2008-02-23 Thread Phil Austin
I'm having two (presumably) unrelated problems with contourf 1) One of my datasets seems to trigger a bug: Specifically when I run the appended script (http://clouds.eos.ubc.ca/~phil/matplotlib_error/arrayplot.py) using the pickled array: (http://clouds.eos.ubc.ca/~phil/matplotlib_error/array.pic

Re: [Matplotlib-users] reversing the y axis

2007-08-24 Thread Emre Aydın
On 8/24/07, Fred Ludlow <[EMAIL PROTECTED]> wrote: > # Get min and max from current axes > y_min, y_max = gca().get_ylim() > > # Set the other way round for current axes > gca().set_ylim(y_max, y_min) > > # Redraw > draw() > > > Emre Ayd?n wrote: > > hi. i'm a new user of matplotlib. i've searched

Re: [Matplotlib-users] reversing the y axis

2007-08-24 Thread Fred Ludlow
# Get min and max from current axes y_min, y_max = gca().get_ylim() # Set the other way round for current axes gca().set_ylim(y_max, y_min) # Redraw draw() Emre Ayd?n wrote: > hi. i'm a new user of matplotlib. i've searched through the arhieves > of the mailing list but couldn't find a quick so

Re: [Matplotlib-users] reversing the y axis

2007-08-24 Thread John Hunter
On 8/24/07, Emre Aydın <[EMAIL PROTECTED]> wrote: > hi. i'm a new user of matplotlib. i've searched through the arhieves > of the mailing list but couldn't find a quick solution. i simply need > to reverse the y axis of my plots. for example in a range of 0-10, 0 > must seem at the top of the plot

[Matplotlib-users] reversing the y axis

2007-08-24 Thread Emre Aydın
hi. i'm a new user of matplotlib. i've searched through the arhieves of the mailing list but couldn't find a quick solution. i simply need to reverse the y axis of my plots. for example in a range of 0-10, 0 must seem at the top of the plot where 10 is lowest, near to the x axis. is there a quick s