[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Sand 1, D-72076 Tübingen, Germany
[Uni logo]


makearrow makedash jwoploterr Source code in jwoploterr.pro

makearrow

Name
           makearrow
Purpose
           plot an arrow, pointing up, down, left, or right
Category
           plotting
Calling Sequence
           makearrow,x,y, and one of the keywords
Input Parameters
           x,y: position (in data-coordinates) where the tip of the arrow
                will be placed
Optional Input Parameters

Keyword Parameters
          up,down,left,right: direction of the arrow
          color: color of the arrow
          size:  scaling-factor of the arrow
          xscale,yscale: individual scale for x and y extent of arrow
          thick: line thickness
          fill: Fill the arrows
Restrictions
          one of the keywords MUST be given
Procedure
          trivial
Revision History
         Version 0.5, 1997/06/23 Joern Wilms (wilms@astro.uni-tuebingen.de)
         Version 0.6, 1999/07/13 Joern Wilms
              (wilms@astro.uni-tuebingen.de)
         CVS Version 1.1, 2001.09.06: JW/SB, added xscale,yscale, and
             fill options

makedash

Name
           makedash
Purpose
           plot a dash, horizontal or vertical
Category
           plotting
Calling Sequence
           makedash,x,y, and one of the keywords
Input Parameters
           x,y: position (in data-coordinates) where the dash will be placed
Optional Input Parameters

Keyword Parameters
          horizontal,vertical: direction of the dash
          color: color of the dash
          size:  scaling-factor of the dash (default: 1)
Restrictions
          one of the keywords MUST be given
Procedure
          trivial
Revision History
         Version 0.5, 1997/06/23 Joern Wilms (wilms@astro.uni-tuebingen.de)
         Version 0.6, 1999/07/13 Joern Wilms (wilms@astro.uni-tuebingen.de)

jwoploterr

Name
             jwoploterr
Purpose
             Overplot data-points with possible uncertainties in the
             X- and Y-direction to a pre-existing plot (in this sense
             the functionality is similar to oploterr). If the
             error-bars do not fit in the given x- or y-range,
             plot arrows.
Category
             plotting
Calling Sequence
             jwoploterr,x,y,sig
Input Parameters
             x: Array of X-values
             y: Array of Y-values
           sig: Array of Y-error-bars
                   if 2d: plus error is in sig[0,*], minus error in sig[1,*]
Optional Input Parameters

Keyword Parameters
            dx: Array containing the width of the x-bins (from -dx to
                   +dx)
                if 2D: PLUS error is in dx[0,*], MINUS-err in dx[1,*]
      yerrrange: if set, then dy contains the confidence interval, not the
                 plus minuts errors
      xerrrange: dito, for dx
          psym: Psym to be used (default: 0)
       symsize: Symsize to be used (default: 1)
         color: color to be used (default: !p.color)
     ymin,ymax: min. and max. y-values of the plot (taken from !p.clip if
                not set)
     xmin,xmax: min. and max. x-values (ditto).
          size: Scaling-Factor for the arrows and dashes
       endmark: if set: draw a dash at the end of the error-bars
         thick: thickness of the lines
    xerr90to68: approximately convert 90% errors to 68% (1sigma)
                errors (x-axis)
    yerr90to68: approximately convert 90% errors to 68% (1sigma)
                errors (y-axis)
Side Effects
          a plot is created
Restrictions
          none; x-range is not yet implemented
Procedure
          see procedure
Example
          x=findgen(10)
          y=x*x
         dy=x
         jwoploterr,x,y,dy
Revision History
         Version 0.5, 1997/06/23 Joern Wilms (wilms@astro.uni-tuebingen.de)
         Version 0.6, 1998/06/13 Joern Wilms: added endmark keyword
         Version 0.7, 1998/08/04 Joern Wilms: now allow for VERY
            large arrays by having the for-loop with i being a long.
         Version 0.8, 1999/01/15 Joern Wilms: deal with special case
            that x and y only contain one element
         Version 0.9, 1999/07/13 Joern Wilms: added thick keyword
         Version 0.91, 1999/07/13 Joern Wilms: added noarrow keyword
         Version 0.92, 1999/08/11 Joern Wilms: repaired embarrassing
            error when trying to plot unsymmetric error bars
         Version 0,93, 1999/08/13 Joern Wilms: Started implementing
            unsymmetrical x-errors
 $Log: jwoploterr.pro,v $
 Revision 1.5  2005/06/23 14:52:27  wilms
 added xerr90to68 and yerr90to68 keywords.
 Revision 1.4  2005/05/02 20:15:17  wilms
 added xerrrange and yerrrange keywords

Last modified by pro2html on 2005 June 24 at 03:10 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically