Welcome to the Harris Geospatial documentation center. Here you will find reference guides and help documents.

  >  Docs Center  >  IDL Reference  >  Direct Graphics  >  PLOTERR Procedure

PLOTERR Procedure

PLOTERR Procedure

Note: Please see the newer ERRORPLOT function, which replicates the functionality of this older routine but offers an interactive interface and updated functionality.

The PLOTERR procedure plots individual data points with error bars.

This routine is written in the IDL language. Its source code can be found in the file ploterr.pro in the lib subdirectory of the IDL distribution.


PLOTERR, [ X ,] Y , Err [, TYPE={1 | 2 | 3 | 4}] [, PSYM=integer{1 to 10}]



An optional array of X values. The procedure checks the number of arguments passed to decide if X was passed. If X is not passed, INDGEN(Y) is assumed for X values.


The array of Y values. Y cannot be of type string.


The array of error-bar values.



The type of plot to be produced. The possible types are:

  • 1 = X Linear - Y Linear (default)
  • 2 = X Linear - Y Log
  • 3 = X Log - Y Linear
  • 4 = X Log - Y Log


The plotting symbol to use. The default is +7.

Version History



See Also

ERRPLOT Procedure, ERRORPLOT, OPLOTERR Procedure, PLOT Procedure

© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us