title: Gnuplot: Data blocks with different colours
body: <p>I have a data file with multiple <em>blocks</em> in it, e.g.</p>
  
  <pre><code>x1 y1
  x2 y2
  x3 y3
  x4 y4
  
  
  x1 y1
  x2 y2
  x3 y3
  x4 y4
  
  
  x1 y1
  x2 y2
  x3 y3
  x4 y4
  </code></pre>
  
  <p>And I'd like to plot each block to default to a different colour.  If each of these block were in a separate text file, this wouldn't be an issue as Gnuplot defaults to doing that.  Anyone know how I can get the blocks to each plot in a different colour (preferably regardless of how many blocks I have)?</p>
  
  <p>Thanks.</p>