Marking a point on a graph

4 Ansichten (letzte 30 Tage)
JA
JA am 14 Okt. 2016
Bearbeitet: KSSV am 14 Okt. 2016
I want to mark a few points in my graph. Which by itself isn't a big deal. I can just do:
plot(x,y,'ro')
But i want more freedom in doing this. With the above command it creates a marker of hollow 'O'. i want a solid 'O' and the freedom to change the color of marker. How can i change the shape and color of the marker.

Akzeptierte Antwort

KSSV
KSSV am 14 Okt. 2016
Bearbeitet: KSSV am 14 Okt. 2016
plot(rand(1),rand(1),'r.','markersize',50)
play with markersize
Read more for other markers:

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by