How to add tooltips or overlay text in a Matlab figure
问题 I have a figure with two or more lines. These lines have additional, important information associated with them, like how many data points were averaged to create the line etc. I would like to access this information in my figure. I thought a good solution for this would be to if you could hover over a line with your mouse and get that extended information. However searching for tooltips/overlays/hover-over on figures seemed to not be fruitful. Example: figure; hold on; plot(1:10,rand(10,1))