STAGGERX, STAGGERY

Purpose:

Staggers the x- or y-axis scale display, and locates the scale in a region which is farther away from the plotting area than the regions taken by any preceding scales on the same side of the specified window.

Syntax:

STAGGERX(win, onoff)

STAGGERY(win, onoff)

win

-

Optional. A window, defaults to the current Window.

onoff

-

Optional. An integer, the staggered scales mode:

0:

Off, scales are flush

1:

On, scales are offset

Example:

W1: gsin(100,.01);setvunits("Volts")

W2: gcos(100,.01);setvunits("Amps")

W3: w1;Scales(2);overlay(w2,red);focus(2);scales(2);
label("Staggered Scales")

 

Window 3 contains the 2 curves overlayed with staggered scales.

Remarks:

STAGGERX and STAGGERY apply to the scales associated with the current focus of the specified Window. Staggered scales are only applicable in OVERLAY plots.

 

Precede-succeed order is defined by the order in which overlays are created in the Windows. Overlays created earlier have precedence.

 

If onoff is OFF, then DADiSP will turn off staggering, and the current focus scale will stay flush with the plotting area.

 

See STRIPCHART to create a multi-series stacked stripchart.

See Also:

FOCUS

OVERLAY

SCALES

SETXY

SPANX, SPANY

STRIPCHART