On Wed, Jul 20, 2011 at 7:24 PM, Buchholz, Greg <gbuchh...@infiniacorp.com> wrote: >>-----Original Message----- >>From: C M [mailto:cmpyt...@gmail.com] >> >>Sorry, this is super-simple, but I'm lost in the whole >>locator/formatter part of the docs. >> >>How can I make a locator that just places a tick at every multiple of >>0.5 around the data? So the y axis would look like: >> >>3.5 -- >>3.0 -- >>2.5 -- >>2.0 -- >>1.5 -- >>1.0 -- > > Do you want something like: > > ylim(1.0,3.5) > yticks(arrange(1.0,4.0,0.5))
I'm not sure, because I can't try it out--I'm using the OO matplotlib, not Pyplot. What's the equivalent of this in the OO API? Thanks, Che ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users