I'm finding some really weird behavior in matplotlib that I just can't figure out.
When I plot out the following short script:
>>> from pylab import *
>>> y = [-48.0694,-48.0754,-48.0772,-48.0781,-48.0782,-48.0781,
-48.0772,-48.0720]
>>> plot(y)
>>> savefig('bs.png')
I get a y-axis that goes from -10 to 0, instead of -48.0782 - -48.0694. And in the upper left hand corner of the plot I see the string "x1e-3-4.8069e1".
I'm running python 2.3.5 on Mac OS X 10.4.2. Matplotlib 0.82.
Any hints?
Rick Muller
rmuller@...176...
Rick Muller wrote:
I'm finding some really weird behavior in matplotlib that I just can't figure out.
When I plot out the following short script:
>>> from pylab import *
>>> y = [-48.0694,-48.0754,-48.0772,-48.0781,-48.0782,-48.0781,
-48.0772,-48.0720]
>>> plot(y)
>>> savefig('bs.png')
I get a y-axis that goes from -10 to 0, instead of -48.0782 - -48.0694. And in the upper left hand corner of the plot I see the string "x1e-3-4.8069e1".
I'm running python 2.3.5 on Mac OS X 10.4.2. Matplotlib 0.82.
Any hints?
Rick Muller
rmuller@...176...
I get the same on WinXP, MPL 0.82.
cheers,
Steve
···
--
grep -ir fuck /usr/src/linux