Identifying data in plot from legend.

조회 수: 18 (최근 30일)
Matthew Tortorella
Matthew Tortorella 2022년 7월 13일
댓글: Matthew Tortorella 2022년 7월 13일
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.

답변 (1개)

Fangjun Jiang
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.
  댓글 수: 1
Matthew Tortorella
Matthew Tortorella 2022년 7월 13일
That worked well. Thank you, I rellay appreciate it.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by