title: How can I draw XOR'ed line (or plot ) in Matlab
body: <p>I remember in pascal we had such a thing to draw line with XOR drawmode(or writemode in assembly)
  e.g. to draw a line from (5,5) to (100,5) we would do this in Pascal:</p>
  
  <pre><code>MoveTo(5, 5);
  Pen.Mode := pmXOR;
  
  LineTo(100,5);
  </code></pre>
  
  <p>Do we have similar thing for matlab plot (or line) functions? e.g:</p>
  
  <pre><code>%  Pen.Mode = pmXOR;
  plot(X,Y,'r+');
  </code></pre>