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

7 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Vimal Rathod
Vimal Rathod el 23 de Jun. de 2021
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

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by