%% Displaying Multiple Plots in One Figure
%% This example shows

x = 0:pi/20:2*pi;
subplot(3,1,1); plot(sin(x))
subplot(3,1,2); plot(cos(x))
subplot(3,1,3); plot(sin(x).*cos(x))

% Copyright 2015 The MathWorks, Inc.