12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

subplothandle, so it is an error to specify a return argument. (This behavior isimplemented by setting the figure’s NextPlot property to replace.)ExamplesTo plot income in the top half of a figure and outgo in the bottom half,income = [3.2 4.1 5.0 5.6];outgo = [2.5 4.0 3.35 4.9];subplot(2,1,1); plot(income)subplot(2,1,2); plot(outgo)The following illustration shows four subplot regions and indicates thecommand used to create each.See Alsoaxes, cla, clf, figure, gca2-465

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!