SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Vol 2

READ VARIABLE LABEL (SET)

Name:
    READ VARIABLE LABEL (SET)
Type:
    Subcommand under SET
Purpose:
    Specifies whether variable names will be read from the data file or not.
Description:
    Typically, Dataplot reads variable names from the READ command. For example,

      READ BERGER1.DAT Y X BATCH

    Alternatively, you can omit the variable names:

      READ BERGER1.DAT

    In this case, Dataplot will automatically assign the variable names X1, X2, and X3.

    Some data files contain the variable names as the first line of the data file. In this case, you can enter the command

      SET READ VARIABLE LABEL ON

    to instruct Dataplot to read the variable names from the first line.

Syntax:
    SET READ VARIABLE LABEL <ON/OFF>
    where <ON> specifies that variable labels will be read from the data file <OFF> specifies that they will not.
Examples:
    SET READ VARIABLE LABEL ON
    SET READ VARIABLE LABEL OFF
Note 1:
    If the SKIP command has been entered, the variable labels will be read from the first line after the skipped lines. For example, SKIP 24 implies that the variable labels will be read from line 25.
Note 2:
    Many of the built-in Dataplot sample files contain the variable names on line 24 and a line of dashes ("-") on line 25. These files can be read with

      SKIP AUTOMATIC
      READ FILE.DAT
Default:
    OFF (variable labels will not be read from the file)
Synonyms:
    None
Related Commands:
    READ = Carries out a column-wise input of data.
    SERIAL READ = Carries out a line-wise input of data.
    SET CONVERT CHARACTER = Specifies whether character data will be read.
    SKIP = Specifies number of header lines to bypass.
    COLUMN LIMITS = Specify what columns to read.
Applications:
    Input/Output
Implementation Date:
    2004/1
Program:
        SET READ VARIABLE LABEL ON
        READ TEST.DAT
        

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 02/03/2004
Last updated: 11/04/2015

Please email comments on this WWW page to alan.heckert@nist.gov.