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 个评论
Thomas
2012-7-6
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
2012-7-6
编辑:John Petersen
2012-7-6
0 个投票
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!