[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


data_dat2 Source code in cafe_data_dat2.pro

data_dat2

Name
           data_dat2
Purpose
           Read in 2-d data set from ascii file.
Category
           cafe
SUBCATEGORY:
           data
DATA FORMAT:
           Read the file as an ascii file containing the
               data in columns (error column need not be given):
               x1 | x2 | y | error. Number separators are non-number
               characters, recommended are spaces or tabs.
               Comment lines which start with "#" will be skipped.
PARAMETER:
           (optional) parameters are ordered as follows:
            x1col - The column number for the X1 axis.
                    Default is column 0.
            x2col - The column number for the X2 axis.
                    Default is column 1.
             ycol - The column number for the Y axis.
                    Default is column 1.
           errcol - The column number for the ERROR axis.
                    Default is column 2. Empty string skips the error
                    column.
         headskip - The number of header lines to skip. Default is 0.
      commentchar - The comment character. Default is "#".
SETUP:
               All keywords/options may be set with the "set"
               command. The command prefix is "data_dat2", the setup
               keyword is as used for parameters above.
Side Effects
           Loads file data to group defined and free subgroup
Example
               > data, test.dat:5,dat2
               -> loads in data from ascii file test.dat (marked via
               extension dat) to first free subgroup in group 5,
               using 2-d reading function
Revision History
           $Id: cafe_data_dat2.pro,v 1.7 2005/02/17 07:52:25 goehler Exp $

Last modified by pro2html on 2005 February 18 at 04:11 UTC

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

Jörn Wilms ([email protected])
Updated automatically