I simply have a loop with a few functions that I want to plot with different colors. Should it not just be something like this:
colors = 'rgbm';
i=0;
for p=.1:.1:.6;
k = ezplot(subs(J,q,p),[0,3]);
set(k, 'Color', colors(i));
i = i+1;
end
This is more preudo-code which does not work. How do I do this? Thanks!