Rounding issue when plotting

Hi,

I have a “normalized” bunch of co-ordinates with x and y between 0 and 1 - I have to multiply the values by 100 in order to get the curve I expected to see, otherwise I don’t get anything. What’s going on?

I did:

pylab.plot(xCoord, yCoord)
pylab.show()

… no extra stuff

Thank you,

David

David Koch wrote:

I have a "normalized" bunch of co-ordinates with x and y between 0 and 1 - I have to multiply the values by 100 in order to get the curve I expected to see, otherwise I don't get anything. What's going on?

I did:

pylab.plot(xCoord, yCoord)
pylab.show()

we're going to need more info to help -- perhaps a complete script, and/or what values xCoord and yCoord have in them.

In the meantime -- did you inadvertently use integer arrays?

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...