How can I easily mark data points in a plot?

7 visualizaciones (últimos 30 días)
Aaron
Aaron el 18 de Jul. de 2014
Respondida: Chad Greene el 10 de Ag. de 2014
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 comentario
Sara
Sara el 18 de Jul. de 2014
Can't you just replot them? You can use
hold on
plot(x,y,'*')
where x,y are ONLY the significant points.

Iniciar sesión para comentar.

Respuestas (1)

Chad Greene
Chad Greene el 10 de Ag. de 2014
Sara's solution seems valid, as does your suggestion of text. Consider also annotation or label.

Community Treasure Hunt

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

Start Hunting!

Translated by