CGMINMAX Description
Prints the minimum and maximum of an IDL variable.
Categories
Utility
Params
variable: in, required, type=any
The variable whose minimum and maximum you wish to know.
Keywords
NAN: in, optional, type=boolean
Set this keyword to ignore NANs in the variable. Default: 0.
TEXT: in, optional, type=string
Prepend this string to the output of MinMax. Default: "MinMax: ".
Examples
The MinMax routine gives the range of the variable::
IDL> a = Findgen(11)
IDL> MinMax, a, TEXT='Variable A:'
Variable A: 0 11
Author
FANNING SOFTWARE CONSULTING::
David W. Fanning
1645 Sheely Drive
Fort Collins, CO 80526 USA
Phone: 970-221-0438
E-mail: david@idlcoyote.com
Coyote's Guide to IDL Programming: http://www.idlcoyote.com
History
Written, 6 August 2012. Copyright
Copyright (c) 2012, Fanning Software Consulting, Inc.