FVALLN

Purpose:

Sets the crosshair cursor to the next valley below a specified threshold and sets the cursor position to that point.

Syntax:

FVALLN(win, threshold, width)

win

-

Optional. A Window, defaults to the current Window.

threshold

-

Optional. A real, the value below which the next valley will be found. Defaults to the last threshold.

width

-

Optional. An integer, the minimum number of points below the threshold. Defaults to 1.

Example:

W1: gsin(128, 1/128, 4)

fvall(0)

fvalln

 

FVALL(0) sets the cursor position to the first valley below 0.0. FVALLN sets the cursor position to the next valley. Type CURSORON to display the crosshair cursor. The crosshair cursor appears automatically if you are in an activated Window.

Remarks:

FVALLN sets the cursor position to the minimum point of the valley but does not display point values nor does it provide a movable cursor.

 

Use CURSORON to activate cursor.

 

FVALL must be executed before using FVALLN.

See Also:

CURPOS

CURSORON

FIND PEAKS AND VALLEYS

FMAX

FMIN

FPEAK

FPEAKN

FPEAKP

FVALL

FVALLP

MAX

MIN