# FINDMIN

## Purpose:

Returns the X and Y value of the minimum of a series.

## Syntax:

FINDMIN(series)

(x, y, z) = FINDMIN(series)

series |
- |
A series or array. |

## Returns:

An XY series or separate scalars:

b = findmin(series)

returns an XY or XYZ
series.

(x, y) = findmin(series)

returns the X and Y values as separate scalars.

(x, y, z) = findmin(series)

returns the X, Y and Z values as separate scalars.

## Example:

a = {1, 12, 0, 5};

b = findmin(a);

(x, y) = findmin(a, 0);

b == xy({1}, {12})

x == 1.0

y == 12.0

W1: gnorm(100,.1):overp(findmin(curr),lred);setsym(CIRCLE,2)

marks the MIN of W1 with a red circle.

## Remarks:

FINDMIN returns an XY series with the same units as the input series.
If the series is XYZ or a table (i.e. PLOT3D,
DENSITY or CONTOUR),
FINDMIN returns an XYZ series.

(x, y) = findmin(series) returns
the first occurrence of the maximum in series.

## See Also:

FIND

FINDMAX

FINDVAL

MARKMAX

MARKMIN

MAXVAL

MINVAL