title: Matlab plotting only every Xth point
body: <p>I'm wondering if it is possible to plot only every Xth point in a Matlab <code>plot</code>.</p>
  
  <p>I have a long list of points where I only want to display a subset of (due to the huge amount).</p>
  
  <p>My points are from the styl:</p>
  
  <pre><code>ONE = [x1,y1 ; x2,y2 ; x3,y3 ; x4,y4 ; x5,y5 ; ...];
  TWO = [x'1,y'1 ; x'2,y'2 ; x'3,y'3 ; x'4,y'4 ; x'5,y'5 ; ...];
  </code></pre>
  
  <p>what I'm currently doing is the following:</p>
  
  <pre><code>figure;
  plot([ONE(:,1) TWO(:,1)].',[ONE(:,2) TWO(:,2)].','g', ONE(:,1),ONE(:,2),'bx',TWO(:,1),TWO(:,2),'ro')
  hold off
  drawnow 
  </code></pre>
  
  <p>which plots me all points from <code>ONE</code> in blue <code>x</code> and all points from <code>TWO</code> in red <code>o</code>. These points are connected with a green line (<code>[x1,y1]</code> with <code>[x'1,y'1]</code>, ...). This works all great, but due to the amount and the points its a bit overloaded. Therfore I just want to display a couple of points.</p>
  
  <p>Any ideas?</p>