"Derek Hohls" <[EMAIL PROTECTED]> writes:

> ie. 0.2  0.4   0.6... followed by a rather large and ugly-looking
> x1e+4
> Is there is a simple way to avoid exponential notation?

Try using a FormatStrFormatter with a suitable format string:

  from matplotlib.ticker import FormatStrFormatter
  ax=gca()
  ax.xaxis.set_major_formatter(FormatStrFormatter('%5.0f'))

For more information, see
http://matplotlib.sourceforge.net/matplotlib.ticker.html
and grep for Formatter in the examples directory.

-- 
Jouni


-------------------------------------------------------------------------
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