How to highlight each points in graph

14 次查看(过去 30 天)
I plotted a graph by reading values from excel file. I need to mark each point / highlight each point on the graph . Can you please help ???
  2 个评论
Fangjun Jiang
Fangjun Jiang 2021-5-24
you mean like this? plot(1:10, 'r-*')
see "doc plot"
Adam Danz
Adam Danz 2021-5-24
The goal is very unclear. What does it mean to highlight a point and how does that differ from plotting the point?

请先登录,再进行评论。

回答(1 个)

David Hill
David Hill 2021-5-24
Look at marker within the plot command.
x=1:5;
plot(x,x,'Marker','*');

类别

Help CenterFile Exchange 中查找有关 Networks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by