how to change color for one point in the scatter plot
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
TESFALEM ALDADA
am 10 Nov. 2020
Bearbeitet: KSSV
am 10 Nov. 2020
I wanted to separatly color the markers in scatter plot.
e.g i ahve a date:
a=[1:10]'; b=[11:20]';
scatter(a,b,'o','filled');
here i wanted to change the color only for data in the row five (the circled one).
I appreaciate for you help
0 Kommentare
Akzeptierte Antwort
Alan Stevens
am 10 Nov. 2020
a=[1:10]'; b=[11:20]';
scatter(a,b,'o','filled');
hold on
plot(a(5),b(5),'ro','MarkerFaceColor','r')
0 Kommentare
Siehe auch
Kategorien
Mehr zu Scatter Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!