Next: Use of axis, line, and patch Functions, Previous: Multiple Plots on One Page, Up: High-Level Plotting
You can open multiple plot windows using the figure
function.
For example,
figure (1); fplot (@sin, [-10, 10]); figure (2); fplot (@cos, [-10, 10]);
creates two figures, with the first displaying a sine wave and the second a cosine wave. Figure numbers must be positive integers.
Set the current plot window to plot window n. If no arguments are specified, the next available window number is chosen.
Multiple property-value pairs may be specified for the figure, but they must appear in pairs.