Annotate the lines in plot with many line

1 view (last 30 days)
Hello everyone, I am trying to annotate a plot which contains many line. The annotation data has to come from a vector suitable to each line. I am including the plot which I am trying to annotate. Is there a way by which I can write a code to label or annotate these lines. Thank you in advance!

Accepted Answer

dpb
dpb on 10 Nov 2015
doc text
See example there and the "See Also" for annotation for more exotics...
  2 Comments
Karthik Brs
Karthik Brs on 11 Nov 2015
To use 'text' or annotations, I need to know the x and y data, But I want to create annotations for the plots (lines) even without the xy data. I just need a textarrow pointing to the plot with a text!
dpb
dpb on 11 Nov 2015
Well, seems pretty hard to place something on the plot area without saying where to place it...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!