How to create Dynamic Plot Labels

2 views (last 30 days)
McSpark
McSpark on 10 Nov 2015
Hello,
I have 18 data sets against time to plot. I would like to have text which describes what each one is at the end of the line outside the plot window. This needs to be dynamic, so when zooming in the label for each plot it still to the right of each line, just outside the plot area. Also when zoomed, only the ones visible on the current zoom area have their labels visible.
Is there a way to do this? I wondered about legends, however they are in a box distant from the plot lines.
Thanks in advance

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!