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

 

SYNC

Purpose:

Sets the "sync" mode that controls scaling and scrolling of series and Window axes.

Syntax:

SYNC(win, type)

win

-

Optional. A window, defaults to the current Window.

type

-

An integer, the axis scaling and scroll sync type:

Type

Expand

Expand & Scroll

0

-

-

1

-

X

2

-

Y

3

-

X & Y

4

X

-

5

Y

-

6

X & Y

-

Example:

W1: integ(gnorm(1000, 1));overlay(gnorm(1000, 1), lred);sync(4)

 

W1 contains an overlay where both series expand or compress the X axis in sync but scrolling and Y axis scaling are independent.

Example:

W2: integ(gnorm(1000, 1));overlay(gnorm(1000, 1), lred);sync(3)

 

W2 contains an overlay where both series expand, compress and scroll in sync.

Remarks:

SYNC is meaningful only for Windows with overlays.

See Also:

FOCUS

OVERLAY

SCALES