Marking a point on a graph

조회 수: 4 (최근 30일)
JA
JA 2016년 10월 14일
편집: KSSV 2016년 10월 14일
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.

채택된 답변

KSSV
KSSV 2016년 10월 14일
편집: KSSV 2016년 10월 14일
plot(rand(1),rand(1),'r.','markersize',50)
play with markersize
Read more for other markers:

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by