FINDLO
FINDLO(A,XRANGE,YRANGE) Find local minima of a variable.
|
Arguments: |
A |
Variable in x and y, may be a function of z and/or t |
|
XRANGE |
Range in data units of the X radius in which the function looks for minima |
|
|
YRANGE |
Range in data units of the Y radius in which the function looks for minima |
|
|
Result Axes: |
X |
ABSTRACT |
|
Y |
ABSTRACT: j=1:3 |
|
|
Z |
Inherited from A |
|
|
T |
Inherited from A |
The minima are listed along the X axis: j=1 contains the X locations of the points, j=2 contains the Y coordinates of the points, and j=3 contains the function values at the minima.
This function looks for the minimumm gridded value in the neighborhood x+/- XRANGE, Y+/- YRANGE. It returns only values in the interior of the region, not on boundaries. It is an implementaion of the NCAR graphics routine "minmax".
The GO script label_hi_lo.jnl makes it easy to call this function and label and label low's and high's with either their numerical value or the letters L and H. Run the demonstration script minmax_label_demo.jnl
Also try the script bullseye.jnl which locates and marks a "bullseye", i.e. a local minimum or maximum in a 2-D field within a user-specified region.