title: Matlab, plotting classes of points in specific areas in axis
body: <p>Hi and thanks for any help in advance, i am in the process of plotting a series of classified points in an axis. What i am trying to achieve is to have the plotted classes, which are in different colors dependant upon their class, is to have each of the classes plotted in each corner of the axis area. </p>
  
  <hr>
  
  <p>This is my plot command</p>
  
  <pre><code>DATA = [X labels];
  Z = (DATA(:,3)); % select all row three as classes
  plot (DATA (Z == 1, 1), DATA (Z == 1, 2), 'k.', 'markersize', 5)
  hold on
  grid on
  plot (DATA (Z == 2, 1), DATA (Z == 2, 2), 'rx', 'markersize', 5)
  plot (DATA (Z == 3, 1), DATA (Z == 3, 2), 'g^', 'markersize', 5)
  plot (DATA (Z == 4, 1), DATA (Z == 4, 2), 'b.', 'markersize', 5)
  </code></pre>
  
  <p>I need to plot each class in each corner of the axis</p>
  
  <p>Thanks</p>
  
  <p>Chris</p>