![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
![]() |
plot_slice2
extract from 2D-data set a slice and plot it 1-dimensional
cafe
plot type
group - (optional) Define the data group to plot.
Default is current group. Must be in
range [0..29].
data - plots a slice of data in given group. X/Y ranges are
kept. Undefined points are not plot. Error bars also
will be drawn if not inhibited (s.b.).
For this plot style are essentially needed:
x1 - Slice data in in first column at certain
value. (Default is x2=0)
x2 - Slice data in in second column at certain
value. (Default is x2=0).
dx - Defines the range to look for data points in
the given slice. This is needed if a slice is
taken at a value where actually no data points
are; thus scan the neighbourhood. Default: 0.
Apart from IDL oplot keywords following special
are defined:
noerror - Do not plot error bars. This is useful for
tight data sets.
norange - Do not compute range (auxiliary data). Should
not be used if single plot type.
gaps - Do not connect datapoints which are gaps in
respect of a regular x base. It is assumed that
the periodicity is defined by x[1] - x[0].
gaptol - Defines above which x difference gaps are
recognized. Must be given in units of binning
width=x[1] - x[0]. Default is 0.1 = 10%.
distinct - Plot each subgroup file with a different
color.
xbin - Plot bin width of each data point. If no dx
column is given the half distance between two
data points is used.
witherrorrange - Include error ranges into range determination.
deltacolor - Color difference for distinct data sets.
deltalinestyle - Increase of line styles for distinct data
sets. Default: 0 (no change).
deltapsym - Increase of point symbols for distinct data
sets. May be positive or negative
integer number. Default: 0 (no change).
If psym exceeds -7..7 it will be set at 0 (no
symbol). Therefore it is recomended to
plot data sets with lines with a negative
deltapsym (to decrease and restart from 0).
xcol - Column to use for x values. This might be used
to display multi dimensional data and select
the abscissa dimension. Default is column 0.
ycol - Column to use for y values. This might be used
to display multi dimensional data and select
the ordinate dimension. Default is to use the y
values for displaying.
None.
> data,test.dat,dat2 ; 2-d data set
> plot,slice2[x2=5]
-> plot data with slice x2 = const
$Id: cafe_plot_slice2.pro,v 1.3 2004/07/30 17:17:26 goehler Exp $
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]