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.
This is my plot command
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)
I need to plot each class in each corner of the axis
Thanks
Chris
legendcommand? - kwatford[0,0]is, say, on the bottom left forZ==1, on the bottom right forZ==2, etc.? - Jonas