How to highlight each points in graph

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 commentaires

Fangjun Jiang
Fangjun Jiang le 24 Mai 2021
you mean like this? plot(1:10, 'r-*')
see "doc plot"
Adam Danz
Adam Danz le 24 Mai 2021
The goal is very unclear. What does it mean to highlight a point and how does that differ from plotting the point?

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Networks dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by