The ERRPLOT procedure plots error bars over a previously drawn plot.
This routine is written in the IDL language. Its source code can be found in the file
errplot.pro
in the
lib
subdirectory of the IDL distribution.
To plot symmetrical error bars where Y is a vector of data values and ERR is a symmetrical error estimate, enter:
ERRPLOT, Y-ERR, Y+ERR ; Overplot error bars.
If error estimates are non-symmetrical, provide actual error estimates in the upper and lower arguments.
ERRPLOT, lower, upper ; Provide custom lowwer and upper bounds.
To plot versus a vector of abscissas: