OVERLAY

Purpose:

Overlays a series onto another in a specified Window.

Syntax:

OVERLAY(series, win, color, sync, scales)

series

-

A series, the series to overlay.

win

-

Optional. Window in which series is to be overlayed. Defaults to the current Window.

color

-

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

sync

-

Optional. An integer, the sync axes mode. Defaults to 0 (no sync):

Sync Type

Expand

Expand & Scroll

0

-

-

1

-

X

2

-

Y

3

-

X & Y

4

X

-

5

Y

-

6

X & Y

-

scales

-

Optional. An integer, the type of scales for the overlay.

Example:

W1: gnorm(1000,1)

W2: integ(w1);overlay(W1)

 

image\overlay1.png

 

W1 contains 1000 random samples.

 

W2 integrates the data in W1 and overlays W1 onto the series in Window 2. The two series can be scrolled and scaled independently, preserving their own frames of reference.

 

Example:

W1: gnorm(1000,1)

W2: integ(w1);overlay(W1, seriesgreen, 3, 9)

 

image\overlay2.png

 

Similar to above, except the overlay color is SERIESGREEN, scrolling and scaling of the traces are synchronized and the overlay uses the Y-Left scale.

Remarks:

Each overlay in a Window has its own set of scales.

 

See SCALES for valid values for the scales option.

 

In order for an overlay to be updated automatically when the Window is updated, it must be part of the Window formula.

 

Use UNOVERLAY to remove an overlayed series and axes.

 

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

 

See OVERPLOTALL to add overplots to a stripchart.

 

See NUMFOCUS to return the total number of overlays in a Window.

 

See XYALT to create an XY plot with an alternate X axis.

 

See OVERLAYXSYNC to synchronize one or more overlays based on the X axis.

See Also:

FOCUS

NUMFOCUS

OVERLAYXSYNC

OVERPLOT

OVERPLOTALL

OVERPLOTWIN

SCALES

SETPLOTTYPE

STRIPCHART

SYNC

UNOVERLAY

UNOVERPLOT

UNOVERPLOTALL

XYALT