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

 

OVERPLOT

Purpose:

Overplots a series in the current or active Window.

Syntax:

OVERPLOT(series, color, rescale)

series

-

A series.

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)

W2: w1*w1;overplot(w1, lred)

 

Plots W1 on top of the series in W2. The overplotted series 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)

W2: w1*w1;overplot(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 and overlays in the current Window.

 

Overplot creates an overplot onto the current Window. See OVERPLOTWIN to overplot onto a specific target Window.

 

See OVERLAY to plot multiple series with independent scales.

 

See STRIPCHART and SETPLOTTYPE to create a stacked stripchart of multiple series.

 

See OVERPLOTALL to add overplots to a stripchart.

 

See NUMITEMS to return the number of overplots in a Window.

 

See DEFCOLOR to create a new color value.

See Also:

DEFCOLOR

NUMITEMS

OVERLAY

OVERPLOTALL

OVERPLOTWIN

SETPLOTTYPE

STRIPCHART

UNOVERLAY

UNOVERPLOT

UNOVERPLOTALL

XYALT