Change the color of a line in a multilines plot when mouse over the particular line

7 ビュー (過去 30 日間)
Lak Yen Nee
Lak Yen Nee 2021 年 6 月 20 日
回答済み: Vimal Rathod 2021 年 6 月 23 日
Hi guys, does anyone know how to highlight a single line in a multilines plot when mouse over the particular line. My code showing in the picture only makes the whole plot(all the lines) change to black color instead of just one single line. Thank you.

回答 (1 件)

Vimal Rathod
Vimal Rathod 2021 年 6 月 23 日
Hi,
Below is a link to a similar question, once you identify the line on the plot you could highlight it by increasing the 'LineWidth' property

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by