manpagez: man pages & more
info octave
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

15.1.5 Multiple Plot Windows

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.

Function File: figure (n)
Function File: figure (n, property, value, …)

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.


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.