Change the color of a line in a multilines plot when mouse over the particular line
3 次查看(过去 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.
0 个评论
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!