title: Gnuplot - plot for - first row as labels
body: <p>Version of gnuplot:5.4</p>
  <p>I have dataset in format:</p>
  <pre><code>Label1 Label2 Label3
  1 2 3 
  2 5 6
  </code></pre>
  <p>I want to use plot for command, because number of columns isnt static and I want to use first row of dataset as labels.</p>
  <p>When i use:
  <code>plot for [i=2:dataset_columns] 'dataset.dat' using ($1):($i) with lines axes x1y1 </code></p>
  <p>Error:</p>
  <pre><code>warning: bad data on line 1 of file dataset.dat
  Column number or datablock line expected
  </code></pre>
  <p>Question:
  How to edit my command to get data printed, how to use first row as labels?</p>
  <p>Thank you for your help.</p>