Re: [Matplotlib-users] Rounding issue when plotting

2007-04-24 Thread David Koch
Mhm, thank you for testing - it doesn't work here unless I scale everthing. Bug? Linux, numpy.__version__ '1.0.1' matplotlib.__version__ '0.87.3' - This SF.net email is sponsored by DB2 Express Download DB2 Express C - t

Re: [Matplotlib-users] Rounding issue when plotting

2007-04-23 Thread Christopher Barker
it works fine for me with this change: def plotRocCurve(xCoord, yCoord): # TODO: solve rounding issues here #lines = pylab.plot(xCoord * 100, yCoord * 100, markersize = 2, linewidth = 0.5) lines = pylab.plot(xCoord, yCoord, markersize = 2, linewidth = 0.5) pylab.xlabel('False

Re: [Matplotlib-users] Rounding issue when plotting

2007-04-23 Thread Christopher Barker
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 g

[Matplotlib-users] Rounding issue when plotting

2007-04-23 Thread David Koch
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