How to highlight each points in graph

14 views (last 30 days)
Karthik S
Karthik S on 24 May 2021
Answered: David Hill on 24 May 2021
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 Comments
Fangjun Jiang
Fangjun Jiang on 24 May 2021
you mean like this? plot(1:10, 'r-*')
see "doc plot"
Adam Danz
Adam Danz on 24 May 2021
The goal is very unclear. What does it mean to highlight a point and how does that differ from plotting the point?

Sign in to comment.

Answers (1)

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

Categories

Find more on Networks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!