[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


plot_slice2 Source code in cafe_plot_slice2.pro

plot_slice2

Name
           plot_slice2
Purpose
           extract from 2D-data set a slice and plot it 1-dimensional
Category
           cafe
SUBCATEGORY:
           plot type
Input Parameters
           group    - (optional) Define the data group to plot.
                      Default is current group. Must be in
                      range [0..29].
PLOT OUTPUT:
           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.).
SETPLOT KEYWORDS:
           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.
Side Effects
           None.
Example
           > data,test.dat,dat2 ; 2-d data set
           > plot,slice2[x2=5]
                -> plot data with slice x2 = const
Revision History
           $Id: cafe_plot_slice2.pro,v 1.3 2004/07/30 17:17:26 goehler Exp $

Last modified by pro2html on 2005 January 04 at 16:17 UTC

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

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