필터 지우기
필터 지우기

How can I easily mark data points in a plot?

조회 수: 3 (최근 30일)
Aaron
Aaron 2014년 7월 18일
답변: Chad Greene 2014년 8월 10일
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
Sara
Sara 2014년 7월 18일
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일
Sara's solution seems valid, as does your suggestion of text. Consider also annotation or label.

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by