printing different coloured graphs from the same running loop
이전 댓글 표시
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
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!