Assign different marker to different errorbar lines

조회 수: 1 (최근 30일)
Yi-xiao Liu
Yi-xiao Liu 2020년 11월 27일
편집: Yi-xiao Liu 2020년 11월 27일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Errorbars에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by