Filter löschen
Filter löschen

Assign different marker to different errorbar lines

1 Ansicht (letzte 30 Tage)
Yi-xiao Liu
Yi-xiao Liu am 27 Nov. 2020
Bearbeitet: Yi-xiao Liu am 27 Nov. 2020
h=errorbar(cell2mat(X2D),cell2mat(Y2D),cell2mat(E2D));
legend(Grouplabel);
mkrs=['o';'d';'s';'^';'+';'x'];
I use the above code to plot multiple series of data in one plot and I want to have different marker for different series. The number of series is abtritary, and I have tired to directly put mkrs in the function call or change h.Marker afterwards. Both doesn't work. Anyone got an idea how to do it with out using a loop?

Antworten (0)

Kategorien

Mehr zu Errorbars finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by