Local Minima and Maxima
local_min calculates the local minima. It returns the x and y indices
of the minima location, and the minima values.
minmax_1.ncl: Calculates the
local minima of some real world psi data and plots the original
data overlaid with white dots that represent the location of each
minima.
minmax_2.ncl: Same as example 1,
except it calculates the maxima.
local_max calculates the local maxima.