Identifying data in plot from legend.
26 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Fangjun Jiang
2022-7-13
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!