Why the legend color is wrong?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
KAO CHUN YU
am 19 Jan. 2021
Kommentiert: KAO CHUN YU
am 20 Jan. 2021
this is my code
.....................................................................................................................................
close all;
X=inputX(:,2);
Y=inputY(:,2);
tcmxt=Z1(:,2);
YM=Vm1(:,2);
YS=VS1(:,2);
figure(1);
plot(inputX,inputY,'r',tcmxt,YM,'b',tcmxt,YS,'g');
xlabel('x-axis position(um)');ylabel('y-axis position(um)');
legend('Reference heart contour','X-YM Reference heart contour','X-YS Reference heart contour');

when I plot the data on the screen.The color is different on it. how to change the color on it?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!