plotalt.m (255B)
1 function []=plotalt(x,y,styles); 2 % function []=plotalt(x,y,styles); 3 % 4 % styles=strmat('b- g-- r- c-- y-'); 5 6 if exist('styles')~=1; 7 styles=strmat('b- g-- r- c-- m- b-- g- r-- c- m--'); 8 end; 9 10 for i=1:size(y,2); 11 plot(x,y(:,i),styles(i,:)); hold on; 12 end;