printing different coloured graphs from the same running loop
Show older comments
I'm trying to get colored graphs from the same loop:
for i=1:8, sys=ss(A,B,C,[]); [y t x]=initial(sys, X(:,i)); plot(x(:,1),x(:,2)); axis ([-20 20 -20 20]); grid on; hold on; end
*The loop plots response graphs for different initial conditions (each time with different initial condition), can I somehow make each graph different color?
Thanks in advance, Phil
Answers (0)
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!