Same answer as for last question - the data needs to be converted to numeric before plotting. You could change the readcsv line below to: data=: _99&". each readcsv jpath 'c:\bloodtest.txt' And the plot should work.
You could simplify the plotting commands by using plot 'title Blood Glucose Data' plot y ---Hahn, Harvey wrote: While awaiting an answer to my previously posed question, I thought I'd tried to see if I could at least get a simple plot without the "fancier" date-related aspects. So I entered the following into a J window: =========================================== require 'stdlib files csv strings dates plot' data =: readcsv 'c:\bloodtest.txt' 'x y'=. |:data pd 'reset' pd 'title Blood Glucose Data' pd y pd 'show' |option not found: 147: signal | signal'option not found: ',j y 147 197 173 177 152 =========================================== I typed "y" so that you could see the 5 values (from the boxed array) that I'm trying to plot. As a matter of fact, here's the file "bloodtest.txt", if you want to try the code above yourself: 20080102,147 20080104,197 20080106,173 20080108,177 20080109,152 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
