Change marker and color plotting

1 visualizzazione (ultimi 30 giorni)
Jose
Jose il 6 Lug 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 Commento
Thomas
Thomas il 6 Lug 2012
A little ambiguity in your question.. Do you want to change the marker and color of just a single point on the signal?

Accedi per commentare.

Risposte (1)

John Petersen
John Petersen il 6 Lug 2012
Modificato: John Petersen il 6 Lug 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