DADiSP Worksheet Functions > Function Categories > Data Manipulation and Editing > CUT

 

CUT

Purpose:

Extracts the displayed contents of a Window.

Syntax:

CUT(win)

win

-

Optional. A Window, defaults to the current Window.

Returns:

A series or array.

Example:

W1: gnorm(1000,.01);setx(.2, .5);setxtic(-1)

W2: cut(W1)

W3: W1

 

W1 contains 1000 points of random noise. The X axis is begins at 0.2 and ends at 0.5 and the X tic marks are reset. W2 contains only the data actually displayed in W1, whereas W3 contains all the data in W1 regardless of how it is displayed.

Remarks:

Cut works on series, arrays and images.

See Also:

EXTRACT

SETVPORT