Re: [Matplotlib-users] X-axis label tickmarks - number formatting

2006-10-10 Thread Jouni K Seppanen
"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=gc

[Matplotlib-users] X-axis label tickmarks - number formatting

2006-10-09 Thread Derek Hohls
A quick (an easy?) question: I have a numeric, integer label which I am using for the X-axis. Numbers start from 1, up to "something large". When "something large" is less than 10,000 the numbers appear as normal, in 1000 or 2000 interval steps. However, if the "something large" exceeds that,