How can I easily mark data points in a plot?

I would like to mark significant data points in a plot with an asterisk.
Is there an easy way to do that or do I have to use "text()" and manually shift the asterisk to a position next to the data point?

댓글 수: 1

Can't you just replot them? You can use
hold on
plot(x,y,'*')
where x,y are ONLY the significant points.

댓글을 달려면 로그인하십시오.

답변 (1개)

Chad Greene
Chad Greene 2014년 8월 10일

1 개 추천

Sara's solution seems valid, as does your suggestion of text. Consider also annotation or label.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2014년 7월 18일

답변:

2014년 8월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by