% Example of doing multiple plots on one graph using "hold" % Author: F. P. Schloerb % create arrays for plots x = 0:10; y = x.*x; z = 5*x; % plot the "y" array plot(x,y,'b:s'); % hold graph to add plot of z array hold on plot(x,z,'k'); % remove the hold so that next plot command redraws everything hold off