![]() |
Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
![]() |
data_dat2
Read in 2-d data set from ascii file.
cafe
data
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.
(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 "#".
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.
Loads file data to group defined and free subgroup
> 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
$Id: cafe_data_dat2.pro,v 1.7 2005/02/17 07:52:25 goehler Exp $
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]