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

 

MARKMAX

Purpose:

Marks the maximum of a series with a symbol.

Syntax:

MARKMAX(series, color, symbol)

series

-

Optional. A series, defaults to the current Window.

color

-

Optional. An integer, the color for the maximum marker. Defaults to LRED, 12.

symbol

-

Optional. An integer, the symbol for the maximum marker. Defaults to DN_ARROW, 9.

Returns:

Nothing. Overplots the series with a symbol.

Example:

W1: gnorm(1000,.01);markmax;

 

creates 1000 samples of uniformly distributed random noise an marks the maximum with a light red down arrow.

Example:

W1: gnorm(1000,.01);markmax(BLUE, CIRCLE)

 

Same as above except the maximum is marked with a blue circle.

Example:

W1: randn(100,100);setplotstyle(2);markmax

 

creates a 100x100 image and marks the maximum.

Remarks:

If the series is XYZ or a table (i.e. PLOT3D, DENSITY or CONTOUR), MARKMAX overplots an XYZ series.

See Also:

FIND

FINDMAX

FINDMIN

FINDVAL

MARKMIN

MAXVAL

MINVAL

OVERPLOT