FVALLP

Purpose:

Sets the crosshair cursor to the previous valley below a specified threshold.

Syntax:

FVALLP(win, threshold, width)

win

-

Optional. A Window, defaults to the current Window.

threshold

-

Optional. A real, the value below which the previous 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

fvallp

 

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

Remarks:

FVALLP 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.

FPEAKN must be executed before using FVALLP.

See Also:

CURPOS

CURSORON

FIND PEAKS AND VALLEYS

FMAX

FMIN

FPEAK

FPEAKN

FPEAKP

FVALL

FVALLN

MAX

MIN