On 3/2/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Somebody at the usenet suggested that I play with the ticker formatter and 
> locator.   While that helped the multi-color sample I cited, it didn't help 
> in my plots.   The formatter only controls how the y-axis labels are 
> formatted, whereas AFAIK the locator only affects the values of the ymajor 
> and yminor.
>
> So, back to my original question:
>
> How do I force the first label to appear at the origin for all plots?

How about

  ax.set_ylim(-1.1,1.1)
  ax.set_yticks([-1.1, 0, 1.1])

etc...

You can use custom locators as above to automate this, but if you know
the ticks you want, just set them.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to