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

Answers (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.

Categories

Asked:

on 23 Jul 2020

Answered:

on 23 Jul 2020

Community Treasure Hunt

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

Start Hunting!