Hello everyone! I am required to annotate multiple line plots with the numbers as can be seen in the figure. I have put the numbers between the lines using 'plot edit toolbar', but I wish to do it in the code. I have tried many commands like annotation, text, ds2nfu, but all commands requires x and y coordinates for the location of annotation. I just need a number, which is unique to that particular line plot to be printed in the manner as can be seen in the figure. Is there any way wherein I can insert these numbers to the respective plots without extracting the location data? Because, I wont be aware of the x and y most of the times! Your inputs are welcome! Thank you in advance!
MATLAB: Annotate multipl plots with text
annotate line plotannotate multiple plotsannotation;line plots
Best Answer