Eric,

This is great; much thanks!

--b

On Mar 23, 2007, at 3:16 PM, Eric Firing wrote:

> belinda thom wrote:
>> Hi,
>> I'm wondering if there's an easy way to reverse an axis in a plot.
>
> Using methods:
>
> bottom, top = ax.get_ylim()
> ax.set_ylim(top, bottom)
>
> Or using pylab functions:
>
> bottom, top = ylim()
> ylim(top, bottom)
>
> Eric
>
>> For instance, suppose I wanted to create a plot that had its  
>> "origin"  in the upper left hand corner, so that x would range  
>> from, say 0 to 1  moving right, and y would range from, say 0 to  
>> 1, moving down.
>> Thanks!
>> --b
>> --------------------------------------------------------------------- 
>> ----
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to  
>> share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php? 
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Matplotlib-users mailing list
>> Matplotlib-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to