Plot the Gaussian probability function for a range of numbers raised to one of several exponents:
; Generate our base values.
X = FINDGEN(50)/100.
; Plot the base values against their Gaussian probability integrals.
; Then plot the base values raised to an exponent against their
; Gaussian probability integrals.
YTITLE='Gaussian Integral', $
TITLE="Gaussian Integrals for Numbers", $
COLOR='red', NAME='Number to the Power of 1')
NAME='Number to the Power of 2', /OVERPLOT)
NAME='Number to the Power of 3', /OVERPLOT)
NAME='Number to the Power of 4', /OVERPLOT)
NAME='Number to the Power of 5', /OVERPLOT)
L = LEGEND(POSITION=[0.4,90], /DATA)
Result = GAUSSINT(X)
Returns the result of the Gaussian probability function integral evaluation. If X is double-precision, the result is double-precision, otherwise the argument is converted to floating-point and the result is floating-point. The result has the same structure as the input argument, X.
The expression for which the Gaussian integral is to be evaluated.
Thread Pool Keywords
This routine is written to make use of IDL’s thread pool, which can increase execution speed on systems with multiple CPUs. The values stored in the !CPU system variable control whether IDL uses the thread pool for a given computation. In addition, you can use the thread pool keywords TPOOL_MAX_ELTS, TPOOL_MIN_ELTS, and TPOOL_NOTHREAD to override the defaults established by !CPU for a single invocation of this routine. See Thread Pool Keywords for details.
This page has no user notes yet. Be the first one!