Identifying data in plot from legend.
30 views (last 30 days)
Show older comments
Hello, I have a plot with data for 12 separate speeds plotted on a force versus time graph for the data. I have included on the plot a horizontal line at a specific force that represents the customer requirement for force that each speed needs to fall under. I want to see which speed doesn't satisfy this criteria at certain instances in time but the colors on the legend all look very similar. Is there a way in matlab for you to click on one of the lines in the plot and see its corresponding name in the legend? Any help is greatly appreciated. Thanks.
0 Comments
Answers (1)
Fangjun Jiang
on 13 Jul 2022
This might help. On the figure window, click the "Link/Unlink plot" button, or select menu "Tools", check "Link".
On the pop-up table, selecting a legend label will make the corresponding curve bold.
See Also
Categories
Find more on Legend in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!