X with both X and Y errors and no lines connecting the points IDL> oploterror, x, y, xerr, yerr, psym=3 (2) Like (1) but overplot only the Y errors bars and If no current window exists, then this keyword is ignored and a new window is created. For other graphics this property is ignored. If X is not specified, Y is plotted as a function of point number (starting at zero). have a peek here
The default is 1. FONT_SIZE Set this property equal to an integer specifying the font size for the title and axes (if present). These routines have modified the standard IDL routines to allow error bars in either direction. R. http://www.harrisgeospatial.com/docs/ERRPLOT_Procedure.html
Use the returned reference to manipulate the graphic after creation by changing properties or calling methods. Keywords WIDTH The width of the error bars. AXIS_STYLE=value /BUFFER, /CURRENT, /DEVICE, DIMENSIONS=[width, height], LAYOUT=array, LOCATION=[x, y], MARGIN=scalar or [left, bottom, right, top], /NO_TOOLBAR, /NODATA, /OVERPLOT, /WIDGETS Properties Properties can be set as keywords to the function during creation, From Mike Galloy's BlogGenerate color tables with Colorgorical Techniques to visualize multiple distributions Progress bar Drought boundaries Video TutorialArray Uniqueness in IDLHelp Article Pick Tips & Tricks for Efficient IDL Programming
Defaults to !D.X_VSIZE / 100). Added COLOR keyword option to error bars W. This approximation is meaningful only when the neighboring error bars have similar sizes. /LOBAR = if specified and non-zero, will draw only the -ERR error bars. /HIBAR = if specified and Idl Errplot FILL_COLOR Set this property to a string or RGB vector that specifies the color for the filled area.
If the argument is a vector, each value will be used as both a negative and positive error and the error bar will be symmetric about the plot vertex. Syntax ERRPLOT, [ X, ] Low, High [,WIDTH=value] Arguments X A vector containing the abscissa values at which the error bars are to be plotted. If this property is not set then the symbol color will match the COLOR. http://idlastro.gsfc.nasa.gov/ftp/pro/plot/oploterror.pro If the number of indices or colors specified is less than the number of vertices, the colors are repeated cyclically.
UVALUE An IDL variable of any data type. Idl Horizontal Error Bars For example, use the CROSSHAIR property to draw a crosshair on an image: im = IMAGE(/TEST, TRANSPARENCY=50, AXIS_STYLE=2) c = im.CROSSHAIR c.COLOR = 'red' c.THICK = 2 c.LOCATION = [300, 200] Kiss Prev by Date: Re: IDL 5.4 last one for WIN95 Next by Date: Re: IDL vs. If you do not specify a value for DIMENSIONS, IDLby default uses the values of the IDL_GR_WIN_HEIGHT and IDL_GR_WIN_WIDTH preferences for Windows platforms or the IDL_GR_X_HEIGHT and IDL_GR_X_WIDTH preferences for X
HATLENGTH = the length of the hat lines used to cap the error bars. The default value is [0, 0, 0] (black). Idl Oploterr By default, margin values are expressed in normalized units ranging from 0.0 to 0.5. Ploterror Idl NAME The name of the graphic.
See Also !COLOR, Formatting IDLGraphics Symbols and Lines, PLOT, BARPLOT, POLARPLOT, Using IDL graphics Product IDL Version 8.5.1 More New Graphics: ARROWAXISBARPLOTCOLORBARCONTOURELLIPSEERRORPLOTGETWINDOWSIMAGELEGENDMAPMAPCONTINENTSMAPGRIDPLOTPLOT3DPOLARPLOTPOLYGONPOLYLINESURFACESYMBOLTEXTMore... navigate here SYM_THICK A floating point value from 1.0 to 10.0 that specifies the thickness (in points) of the plot symbol. Set this property to 0 to disable anti-aliasing. The SYM_OBJECT may be either an IDLgrModel object or an atomic graphics object. Oploterror Idl
The default is 100 (completely transparent). Graphics Keywords Accepted See Graphics Keywords for the description of the following graphics and plotting keywords: CLIP, COLOR, DATA, DEVICE, LINESTYLE, NOCLIP, NORMAL, PSYM, SYMSIZE, T3D, THICK, Z Version History Original See Format Codes for more information. [XYZ]TICKINTERVAL The interval between major tick marks. [XYZ]TICKLAYOUT Set to 1 to suppress tick marks; set to 2 to draw a box around the tick http://bsdupdates.com/error-bars/plotting-in-idl-with-error-bars.php The default is 'dot'.
Landsman June 1998 Converted to IDL V5.0 W. Psym Idl Set this property to a scalar value to remove the background color. FILL_LEVEL A floating point value specifying the Y value for a boundary of the fill region.
The THICK property was changed to accept a value between 0 and 10. Here you will find reference guides, help documents, and product libraries. Docs Center IDL Programming IDL Reference Using IDL Modules Advanced Math and Stats Dataminer DICOM Toolkit APIs ENVI API HIDE Set to 1 to hide the crosshair, 0 to show. Idl Cgplot Note: After creation, you can set the POSITION to either a two or four-element vector.
The [XYZ]RANGE properties may be used to override these default ranges. Note: You can also set LINESTYLE to a two-element vector, [repeat, bitmask], specifying a stippling pattern. I want error bars in both the X and Y directions. this contact form Coordinates are expressed in normalized units ranging from 0.0 to 1.0.
If the argument is a 2 by N array, the [0, *] values define the negative error and the [1, *] values define the positive error, resulting in asymmetric error bars. Any valid keywords to the OPLOT command (e.g. The default value is 0. ERRORBAR_THICK Set this property to a value between 0 and 10 that specifies the thickness of the error bar lines.
ERRCOLOR = scalar integer (0 - !D.N_TABLE) specifying the color to use for the error bars NSKIP = Positive Integer specifying the error bars to be plotted. YRANGE A two-element vector giving the Y data range to plot. The default value is "black". Properties ANTIALIAS By default anti-aliasing is used when drawing lines.
Error bars can also be created on plots using the ERR_* keywords available on the cgPlot command. For more information about the syntax of the Format argument, see Formatting IDLGraphics Symbols and Lines. If only three parameters are input, they will be taken as X, Y and YERR, respectively. Tip: If you want your graphic to have a new set of axes, you should use the CURRENT keyword instead.
error bar plots, [x[i]-err[i],x[i]-err[i]] , [y[i]+0.02*!c.yrange,y[i]-0.02*!c.yrange] , color=0,thick=2 ;make some little tick marks on the ends if you want plots, [x[i]+err[i],x[i]+err[i]] , [y[i]+0.02*!c.yrange,y[i]-0.02*!c.yrange]] , color=0,thick=2 endfor (Not sure if the !c.yrange