How to identify traces in a plot

I have a plot with many traces that look similar (so many that the colors don't really help), so it is hard to tell which one is which. Is there any way to select a trace on a plot and somehow display which legend entry is it associated with?

답변 (1개)

dpb
dpb 2019년 10월 29일

0 개 추천

You could use the 'Tag' line property to add an identifier to each when created or use the legend 'DisplayName' which is also settable as the a line property.
Or, just save and use the line handle created when plot

카테고리

제품

릴리스

R2015b

질문:

2019년 10월 29일

답변:

dpb
2019년 10월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by