How to have number as marker symbol in plot
I’m trying to have a plot with number form 1 to 150 as a marker symbol.I have this but it doesn’t work.please help
if true
% code
mark=zeros(1,class_length);
for i=1:class_length
mark(:,i)=i;
ma=num2str(mark);
malength=length(ma);
end
if mode==6 && colorflag==0
box on;
hold on;
for i=1:class_length
for p=1:malength
if classlabel(i)==p
plot(x(i),y(i),’Marker’,mo(p),’MarkerSize’,fontsize,’Color’,colors(7));
end
end
end
hold off;
endI’m trying to have a plot with number form 1 to 150 as a marker symbol.I have this but it doesn’t work.please help
if true
% code
mark=zeros(1,class_length);
for i=1:class_length
mark(:,i)=i;
ma=num2str(mark);
malength=length(ma);
end
if mode==6 && colorflag==0
box on;
hold on;
for i=1:class_length
for p=1:malength
if classlabel(i)==p
plot(x(i),y(i),’Marker’,mo(p),’MarkerSize’,fontsize,’Color’,colors(7));
end
end
end
hold off;
end I’m trying to have a plot with number form 1 to 150 as a marker symbol.I have this but it doesn’t work.please help
if true
% code
mark=zeros(1,class_length);
for i=1:class_length
mark(:,i)=i;
ma=num2str(mark);
malength=length(ma);
end
if mode==6 && colorflag==0
box on;
hold on;
for i=1:class_length
for p=1:malength
if classlabel(i)==p
plot(x(i),y(i),’Marker’,mo(p),’MarkerSize’,fontsize,’Color’,colors(7));
end
end
end
hold off;
end plot, marker symbol MATLAB Answers — New Questions