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 positives', fontsize = 10)
     pylab.ylabel('True positives', fontsize = 10)
     # pylab.axis([0.0, 1.0, 0.0, 1.0])
     pylab.show()

I get values between 0.0 and 1.0

I'm running OS-X 10.4 Python2.5
>>> numpy.__version__
'1.0.2'
>>> matplotlib.__version__
'0.90.0'

-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

[EMAIL PROTECTED]


-------------------------------------------------------------------------
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