title: how can I plot two colums of data on the same plot where the x axis is implied by the file row number (using gnuplot)
body: <p>I have text files containing two columns of numbers which I'll call col1 and col2. I'm able to use gnuplot to plot col2 versus col1 or vice-versa but I can't figure out how to plot both col1 and col2 (i.e., overlay both columns of data) as a function of the row number in the file (i.e., the x axis is given implicitly by the file row numbering). I suppose I could insert a row number into column one but I'm guessing there is an easier way to do this in gnuplot. In linux I could use &quot;cat -n&quot; to output a three column file but I'm trying to do this on a Windows system for a friend and I don't know if Windows has something akin to cat.</p>
  <p>Thank you!</p>