Change marker and color plotting

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 个评论

A little ambiguity in your question.. Do you want to change the marker and color of just a single point on the signal?

请先登录,再进行评论。

回答(1 个)

John Petersen
John Petersen 2012-7-6
编辑:John Petersen 2012-7-6
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.

类别

帮助中心File Exchange 中查找有关 Annotations 的更多信息

提问:

2012-7-6

Community Treasure Hunt

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

Start Hunting!

Translated by