DADiSP Worksheet Functions > Function Categories > Display and Manipulation > OVERPLOTWIN

 

OVERPLOTWIN

Purpose:

Overplots a series in the specified Window.

Syntax:

OVERPLOTWIN(win, series, color, rescale)

win

-

A Window, the target window for the overplot.

series

-

A series, the source series to overplot.

color

-

Optional. An integer, the color value of overplotted series.

rescale

-

Optional. An integer, rescale plot to range of all series.

0:

preserve original plot range

1:

rescale plot range (default)

Example:

W1: gsin(100, .01)

overplotwin(w2, w1, lred)

 

plots W1 on top of the series in W2. The overplotted series, W1, will be displayed in light red and plotted using the coordinates of W2. The plot range of W2 is adjusted to accommodate both series.

Example:

W1: gsin(100, .01)

overplotwin(w2, w1, lred, 0)

 

Same as above except the original plot range of W2 is preserved.

Remarks:

All overplots in the Window are linked to the same set of scales and move together during scrolls, magnification, expansion and compression. When the cursor is on, you may switch the cursor between overplotted series and the original by using the up and down arrow keys.

 

For an overplot to be updated automatically when the current Window is updated, it must be part of the Window formula.

 

UNOVERPLOT removes all overplots in the current Window.

 

See OVERPLOT to create an overplot on the current Window.

 

See OVERLAY to plot multiple series with independent scales.

See Also:

OVERLAY

OVERPLOT

UNOVERLAY

UNOVERPLOT