how plot same variable with different colors

I want plot same varible with different colors where my code has multiloop . See attached my code thanks

回答(1 个)

Code is not attched...any ways have a look on the following.
plot(x,y,'color','r') ; % specify the color
If you have different points, use scatter.

类别

在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息

回答:

2020-7-23

Community Treasure Hunt

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

Start Hunting!

Translated by