On Thu, Oct 7, 2010 at 1:01 PM, Waléria Antunes David
<waleriantu...@gmail.com> wrote:
> I need to know how do these vertical lines on the graph. See the picture,
> the lines circled.

We call these major and minor ticks.  The major ticks are the taller
ones, the minor ticks are the smaller ones.  Their location is
controlled by the major and minor Locator instances, and the text
printed beside them is controlled by the major and minor formatter.

See

  
http://matplotlib.sourceforge.net/examples/pylab_examples/major_minor_demo1.html
  
http://matplotlib.sourceforge.net/examples/pylab_examples/major_minor_demo2.html

and

  http://matplotlib.sourceforge.net/search.html?q=codex+set_minor_locator

To control the tick properties themselves, see the Tick section in

  http://matplotlib.sourceforge.net/users/artists.html

JDH

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to