![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
![]() |
makearrow
plot an arrow, pointing up, down, left, or right
plotting
makearrow,x,y, and one of the keywords
x,y: position (in data-coordinates) where the tip of the arrow
will be placed
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
one of the keywords MUST be given
trivial
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
plot a dash, horizontal or vertical
plotting
makedash,x,y, and one of the keywords
x,y: position (in data-coordinates) where the dash will be placed
horizontal,vertical: direction of the dash
color: color of the dash
size: scaling-factor of the dash (default: 1)
one of the keywords MUST be given
trivial
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
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.
plotting
jwoploterr,x,y,sig
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,*]
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)
a plot is created
none; x-range is not yet implemented
see procedure
x=findgen(10)
y=x*x
dy=x
jwoploterr,x,y,dy
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
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]