Stuart Yarrow wrote:
> Hi All,
> 
> An extra label is appearing on the plot I'm generating. I wonder if anyone
> could explain what it means/how to get rid of it?
> 
> The plot is available at http://test.outpost.org.uk/example.png - the
> unexplained label is the '+4.05674e7' in the upper right hand corner. This
> value doesn't appear to be related to what I'm doing numerically.
> 
> # Plot Results
> lines1 = []
> plot1 = pylab.subplot(211)
> lines1.extend(pylab.plot(In, thrust / g, 'b-'))
> pylab.ylabel('Thrust (kgf)')
> pylab.grid(True)
> ax2 = pylab.twinx()
> lines1.extend(pylab.plot(In, inputFlow * 60000, 'g--'))

Couldn't it be because of "inputFlow * 60000", which may cause the 
plotted values to be large (so it is related to what you do 
numerically)? The same happens for e.g. plot(array([1,2,3])+1e5), i.e. 
if the values' changes are small compared to their magnitude. Without 
that, the tick numbers would read 100001.0, 100002.0, 100003.0 in this 
example, which may not look very pretty.

HTH

-- 
cheers,
steve

Random number generation is the art of producing pure gibberish as 
quickly as possible.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to