function plotdata1(X, Y, x1ran, x2ran,num)
% PLOTDATA - Plot 2D data set
% 

% hold on;
% ind = find(Y>0);
% plot(X(ind,1), X(ind,2), 'ks');
% ind = find(Y<0);
% plot(X(ind,1), X(ind,2), 'kx');
% text(X(:,1)+.2,X(:,2), int2str([1:length(Y)]'));
% axis([x1ran x2ran]);
% axis xy;

hold on;
ind = find(Y==1);
plot(X(ind,1), X(ind,2), 'ko');
ind = find(Y==2);
plot(X(ind,1), X(ind,2), 'kx');
ind = find(Y==3);
plot(X(ind,1), X(ind,2), 'k+');
ind = find(Y==4);
plot(X(ind,1), X(ind,2), 'k*');
ind = find(Y==5);
plot(X(ind,1), X(ind,2), 'ks');
ind = find(Y==6);
plot(X(ind,1), X(ind,2), 'kd');
ind = find(Y==7);
plot(X(ind,1), X(ind,2), 'k^');
ind = find(Y==8);
plot(X(ind,1), X(ind,2), 'kv');
ind = find(Y==9);
plot(X(ind,1), X(ind,2), 'kp');
ind = find(Y==10);
plot(X(ind,1), X(ind,2), 'kh');
axis([x1ran x2ran]);
axis xy
