Change marker and color plotting

1 visualización (últimos 30 días)
Jose
Jose el 6 de Jul. de 2012
HI, i want to know how i can change color and marker of a signal, but not all signal, just a point. I mean, i want to change color and marker to a point (x,y).
  1 comentario
Thomas
Thomas el 6 de Jul. de 2012
A little ambiguity in your question.. Do you want to change the marker and color of just a single point on the signal?

Iniciar sesión para comentar.

Respuestas (1)

John Petersen
John Petersen el 6 de Jul. de 2012
Editada: John Petersen el 6 de Jul. de 2012
I think the answer in this question is similar and may help: http://www.mathworks.com/matlabcentral/answers/33614-color-coding-a-2d-plot
or do you just want plot(x,y,color) where color is a string such as 'g','r','m', etc.

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by