On Nov 23, 2011, at 4:09 PM, C M wrote:

>
>
> On Tue, Nov 22, 2011 at 3:09 PM, Nicolas Rougier  
> <nicolas.roug...@inria.fr> wrote:
>
> Is that what you want ?
>
> No ticks, no labels:
>
> import matplotlib.pyplot as plt
> plt.plot(np.arange(10), np.arange(10))
> plt.ylim(0,10)
> plt.yticks(np.linspace(3,10,8))
> plt.show()
>
> Thanks.  That works in your example, but in my actual code, it  
> seems to override my custom formatter, and therefore messes up the  
> axis formatting, which isn't going to work.
>
> Maybe I can integrate it into the formatter somehow.  If anyone has  
> related tips, please let me know.

I don't know if this will work for you, but in your situation I would  
probably just make another axis for the data with no y value. Like, a  
short squat axis directly below the main axis.

-Jeff


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to