Change marker and color plotting

1 vue (au cours des 30 derniers jours)
Jose
Jose le 6 Juil 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 commentaire
Thomas
Thomas le 6 Juil 2012
A little ambiguity in your question.. Do you want to change the marker and color of just a single point on the signal?

Connectez-vous pour commenter.

Réponses (1)

John Petersen
John Petersen le 6 Juil 2012
Modifié(e) : John Petersen le 6 Juil 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.

Community Treasure Hunt

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

Start Hunting!

Translated by