How can I change the color of a text labelled on a curve to the same color of that curve? (there are multiple curves on the same figure)
for i=1:m plot(x,y(i,:)); text(x(5),y(i,5),[num2str(load(i)),'%']); hold on;end;
MATLABplotting
for i=1:m plot(x,y(i,:)); text(x(5),y(i,5),[num2str(load(i)),'%']); hold on;end;
Best Answer