.\
cgminmax.pro
top cgMinMax
Utility
cgMinMax, variable [, /NAN] [, TEXT=string]
Prints the minimum and maximum of an IDL variable.
Parameters
- 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 information
- 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
- Copyright:
Copyright (c) 2012, Fanning Software Consulting, Inc.
- History:
Written, 6 August 2012.
File attributes
Modification date: | Fri Mar 27 11:07:38 2015 |
Lines: | 94 |
Docformat: | rst rst |