Home > Error Bars > Plotting Error Bars In Idl

Plotting Error Bars In Idl


See Also !COLOR, Formatting IDLGraphics Symbols and Lines, PLOT, BARPLOT, POLARPLOT, Using IDL graphics Product IDL Version 8.5.1 More New Graphics: ARROWAXISBARPLOTCOLORBARCONTOURELLIPSEERRORPLOTGETWINDOWSIMAGELEGENDMAPMAPCONTINENTSMAPGRIDPLOTPLOT3DPOLARPLOTPOLYGONPOLYLINESURFACESYMBOLTEXTMore... YRANGE A two-element vector giving the Y data range to plot. FONT_SIZE Set this property equal to an integer specifying the font size for the title and axes (if present). y = [20.1, 19.9, 20.0, 20.0, 19.9, 20.0] yerror = [0.329, 0.186, 0.147, 0.086, 0.234, 0.196] x = INDGEN(6)+1 ; Create the plot p = ERRORPLOT(x, y, yerror, XRANGE=[0,7], $ http://setiweb.org/error-bars/plotting-error-bars-in-r.php

SYM_FILLED Set this property to 1 to fill the symbols. If this property is set to a nonzero value, the aspect ratio will be preserved as the graphic is stretched or shrunk. Syntax graphic = ERRORPLOT(Y, Yerror [, Format] [, Keywords=value] [, Properties=value]) graphic = ERRORPLOT(X, Y, Xerror, Yerror [, Format] [, Keywords=value] [, Properties=value]) graphic = ERRORPLOT(X, Y, Yerror [, Format] [, If the OVERPLOT keyword is specified, axis ranges will not change. http://www.harrisgeospatial.com/docs/ERRPLOT_Procedure.html

Idl Oploterr

Decrease the margins so the graphic almost fills the window. Tokens are case sensitive. The two graphics items will then share the same set of axes.

If neither LOBAR or HIBAR are set _or_ if both are set, you will get both error bars. Mein KontoSucheMapsYouTubePlayNewsGmailDriveKalenderGoogle+ÜbersetzerFotosMehrShoppingWalletDocsBooksBloggerKontakteHangoutsNoch mehr von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: Displaying error bars Subject: Re: Displaying error bars From: Med Bennett Date: TRANSPARENCY An integer between 0 and 100 that specifies the percent transparency of the plot line. Idl Errplot Its source code can be found in the file errplot.pro in the lib subdirectory of the IDL distribution.

Since the axes are in the middle, decrease the margins so the graphic almost fills the window. Idl Ploterr ANTIALIAS, ASPECT_RATIO, AXES, BACKGROUND_COLOR, BACKGROUND_TRANSPARENCY, CLIP, COLOR, CROSSHAIR, ERRORBAR_CAPSIZE, ERRORBAR_COLOR, ERRORBAR_LINESTYLE, ERRORBAR_THICK, FILL_BACKGROUND, FILL_COLOR, FILL_LEVEL, FILL_TRANSPARENCY, FONT_COLOR, FONT_NAME, FONT_SIZE, FONT_STYLE, HIDE, LINESTYLE, NAME, POSITION, RGB_TABLE, SYM_COLOR, SYM_FILLED, SYM_FILL_COLOR, SYM_INCREMENT, SYMBOL, SYM_SIZE, Defaults to the THICK plotting keyword. http://idlastro.gsfc.nasa.gov/ftp/pro/plot/oploterror.pro Yerror Either a vector or a 2 by N array of error values to be displayed as error bars for the Y dimension of the plot.

ERRORBAR_CAPSIZE A floating point value specifying the size of the error bar endcaps. Idl Horizontal Error Bars PSYM, YRANGE) are also accepted by OPLOTERROR via the _EXTRA facility. SYMBOL A string giving the symbol name. WIDGETS By default, when running from the IDL Workbench, the graphics window will use the native widgets for your platform.

Idl Ploterr

If the number of indices or colors specified is less than the number of vertices, the colors are repeated cyclically. http://www.idlcoyote.com/graphics_tips/yerrorbars.html You can set the following properties on the axes: Property Description [XYZ]COLOR A string or RGB vector containing the axis color. [XYZ]GRIDSTYLE A string, integer, or 2-element vector giving the linestyle Idl Oploterr Added COLOR keyword option to error bars W. Ploterror Idl SYM_SIZE A floating point value specifying the size of the plot symbol.

Use the VERT_COLORS property to specify indices that select colors from the values specified with RGB_TABLE. this page Note: After creation, you can set the POSITION to either a two or four-element vector. The margins will be adjusted to leave space for the axes. Use the scalar value 0 to not draw Y error bars. Oploterror Idl

POSITION Set this property to a four-element vector that determines the position of the graphic within the window. The SYM_OBJECT may be either an IDLgrModel object or an atomic graphics object. Valid values are: null (the default, signified by empty quotes), Years, Months, Days, Hours, Minutes, Seconds, Time, exponent for exponential notation, or scientific for scientific notation. get redirected here 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

Kiss" wrote: > Is there an easy way to create horizontal error bars in IDL plots? Psym Idl FILL_LEVEL A floating point value specifying the Y value for a boundary of the fill region. Plots created with PLOT are limited to the range and precision of double-precision floating-point values.

For Plot graphics the default behavior is to display the crosshair when a Mouse_Down event is received.

Something like the following, after you plot your data (x,y): for i=0,n_elements(x) do begin plots, [x[i]-err[i],x[i]+err[i]] , [y[i],y[i]] , color=0,thick=2 ; draw the horiz. Welcome to the Harris Geospatial product documentation center. COLOR A string or RGB vector containing the color. Idl Cgplot 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.

You can also add Greek letters and mathematical symbols using a TeX-like syntax. The [XYZ]RANGE takes precedence over this property. [XYZ]SUBTICKLEN The ratio of the minor tick length to the major tick length. The valid values are: (0) Nice range. http://setiweb.org/error-bars/plotting-in-gnuplot-with-error-bars.php This argument is converted to double-precision floating-point before plotting.

matlab Prev by thread: Displaying error bars Next by thread: IDL 5.4 last one for WIN95 Index(es): Date Thread Institut für Astronomie und Astrophysik Abteilung Astronomie Sand 1, D-72076 Tübingen, Germany Note: VERT_COLORS can be an array of RGB triplets or RGBA colors. ERRORBAR_LINESTYLE Set this property to an integer or string specifying the line style. 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]

SYM_OBJECT Set this property equal to an object reference to be used for the plotting symbol. The WINDOW's SetCurrent method may be used to set the current window. Set to -1 to auto-compute, set to 0 to suppress. [XYZ]SUBGRIDSTYLE A string, integer, or 2-element vector giving the linestyle for the minor tickmarks. Or, set this keyword to an existing IDL Graphic reference to make that window be the current window and direct the new graphic to that window.

X only needs to be provided if the abscissa values are not the same as the index numbers of the plotted points. The default is 0.5. [XYZ]TEXT_COLOR A string or RGB vector containing the axis text color. [XYZ]TEXT_ORIENTATION The angle (in degrees) of the tick mark labels. [XYZ]TEXTPOS Set to 1 to position How can I do this in IDL? Examples To plot symmetrical error bars where Y is a vector of data values and ERR is a symmetrical error estimate, enter: ; Plot data: PLOT, Y ; Overplot error bars:

Fanning Last Updated 10 December 2013 IDL Reference Guide: Procedures and Functions ERRPLOT Syntax | Arguments | Keywords | Examples | Version History | See Also The ERRPLOT procedure plots error Low A vector of lower estimates, equal to data - error. LINESTYLE Set this property to an integer or string specifying the line style. laws and regulations.

This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR).