title: GNUPlot: plot different ranges with different styles
body: <p>I know this should be pretty simple, but I haven't been able to find a similar example.</p>
  
  <p>I need to plot different ranges of a datafile differently, but on the same graph.</p>
  
  <p>For instance, say my datafile represents a function with x and y values. I want to plot the first N values using a style like lines, and then the next M values using a different style, like points.</p>
  
  <p>I was thinking I would need a plot command similar to this:</p>
  
  <pre><code>plot [1:5] "my.data" using 1:2 with lines, [6:12] using 1:2 with points, [13:19] using 1:2 with lines
  </code></pre>
  
  <p>Essentially I want to distinguish different areas of the functions.</p>
  
  <p>Any ideas? I am sorry if it sounds like I'm rambling but I am quite stumped.</p>
  
  <p>Thanks in advance!</p>