- #1

- 165

- 0

## Main Question or Discussion Point

I would like to plot a curve with each point with different color.

For example

x0=2;

for i=1:1:200

x1=x0*cos(x0)+exp(x0);

plot(i,x1) (THIS IS THE PLACE WHERE I WANT TO PUT DIFFERENT COLOR)

x0=x1;

end

For example

x0=2;

for i=1:1:200

x1=x0*cos(x0)+exp(x0);

plot(i,x1) (THIS IS THE PLACE WHERE I WANT TO PUT DIFFERENT COLOR)

x0=x1;

end