I have input like:
year s1 s2 s3
2000 1 2 3
2001 2 4 6
2002 4 8 12
I don't know how many series. Today it's 3, tomorrow it may be 4.
I want to plot it in a multi-series chart. Something like this:
set key autotitle columnhead
plot 'data/chart-year-subreddit-count' using 1:2 with lines, \
'data/chart-year-subreddit-count' using 1:3 with lines, \
'data/chart-year-subreddit-count' using 1:4 with lines
Except since I don't know how many columns, I don't know what to put in my gnuplot script.
Do I have to write a script to write the file? Or can gnuplot work out how many series there are automatically?