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

조회 수: 9 (최근 30일)
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 CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by