|
From: Frazer <pf...@mo...> - 2010-06-18 17:46:35
|
Thomas Sefzick <t.sefzick <at> fz-juelich.de> writes: > plot for [i=0:1] "graph.dat" using 1:2:-2 index i lc variable title > columnheader Thanks. That almost works. I get the plots I want, with the graph lines in different colors, but the sample lines in the keys are all solid black, so the keys don't help a lot. Is there something else I should do? On related topic, it would also be nice if there were some way to read in the number of data sets from the input file, so I could write something like plot for [i=0:n] Is there any way to do that? It appears I can just write plot for [i=0:20] where 20 is assumed larger than the number of data sets I'll ever have. That gets me some warnings, but otherwise seems to work. Thanks for the response and for your time. Frazer |