Johann Cohen-Tanugi <[EMAIL PROTECTED]> writes:

> I would like to know if there is an easy to invert a axis (specifically 
> the x-axis), id est to have the labels between say 0 an1 automatically 
> run from right to left.

setp(gca(), 'xlim', reversed(getp(gca(), 'xlim')))

i.e., just put the larger limit before the smaller one.

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to