I'm trying to make a plot where instead of the y-axis being oriented in 
the traditional sense (large numbers on top, small on bottom) it needs 
to be oriented in the reverse sense (small numbers on top, large on bottom).

Now, my first thought on how to do this was the following:

 >>>plot(x,-y)
 >>>pos,lab = yticks()
 >>>yticks(pos,map(str,-array(pos)))

This works, but if I've set a specific y-axis limit range before 
reversing the labeling, the yticks command messes that up.  On the other 
hand, if I do the yticks command first, then I get the range I want, but 
the tick marks don't cover the whole range of the plot.

Is there a better way of doing this, or some way to fix the above method 
to make it work?
-- 

R. Padraic Springuel
Teaching Assistant
Department of Physics and Astronomy
University of Maine
Bennett 309
Office Hours: Wednesday 2-3pm

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to