Identifying data in plot from legend.

29 vues (au cours des 30 derniers jours)
Matthew Tortorella
Matthew Tortorella le 13 Juil 2022
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.

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 13 Juil 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.
  1 commentaire
Matthew Tortorella
Matthew Tortorella le 13 Juil 2022
That worked well. Thank you, I rellay appreciate it.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by