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

IPL2NA

Name:
    IPL2NA (SET)
Type:
    Set Subcommand
Purpose:
    Define the name of the plot file created by the DEVICE 3 command.
Description:
    By default, Dataplot names the plot file created by the DEVICE 3 command "dppl2f.dat". This is the name used regardless of the type of device.

    There are times when it is convenient to use a different name for the plot file. For example, you may want to identify the type of output file (e.g., you want a ".ps" extension for Postscript files) or you want to save the file with a unique name for subsequent use after the Dataplot session.

    To set the name of the plot file, do the following

      DEVICE 3 CLOSE
      SET IPL2NA <file-name>
      DEVICE 3 POSTSCRIPT

    Dataplot typically controls the opening and closing of the DEVICE 3 output. For that reason, you may want to enter a DEVICE 3 CLOSE command before the SET IPL2NA command.

Syntax:
    SET IPL2NA <string>
    where <string> contains the desired name for the plot file.
Examples:
    SET IPL2NA PLOT.PS
    SET IPL2NA PLOT1.JPG
Note:
    File names have the following restrictions:

    1. The file name should be a valid file name for the local operating system.

    2. Most Dataplot commands that utilize a file name expect that the file name should contain a period "." in the file name itself or as a trailing character. However, this is not required by the SET IPL1NA command.

    3. If the file name contains spaces or hyphens, then it needs to be enclosed in quotes.

    4. File names are currently limited to 80 characters.
Note:
    File names are case sensitive on Unix/Linux/Mac OS X systems. For these systems, the case of the file name will be as it is entered on the SET IPL1NA command.

    As a further caution for Unix/Linux hosts, certain expansion characters (specifically ~ to refer to your home directory) are interpreted by the shell and are not recognized by the Fortran compiler. These expansion characters are interpreted as literal characters and do not yield the intended file name.

Default:
    The default name is dppl2f.dat.
Synonyms:
    None
Related Commands:
    SET FILE SWITCHES = Probe the values for certain file names and the associated unit numbers and file status.
    DEVICE = Specify a graphics device.
    SET IPL1NA = Specify the file name for the DEVICE 2 output.
    SET DEVICE 3 = Specify whether DEVICE 3 output will be controlled by Dataplot or by the user.
    SET DEVICE 3 NAME COUNTER = Specify whether DEVICE 3 ouput will generate each plot in a separate file.
Applications:
    Plotting
Implementation Date:
    Pre-1987
Program:
     
    DEVICE 3 CLOSE
    SET IPL2NA plot1.ps
    DEVICE 3 POSTSCRIPT
    PLOT X**2 FOR X = 1 1 9
    DEVICE 3 CLOSE
    .
    SET IPL2NA plot2.ps
    DEVICE 3 POSTSCRIPT
    PLOT X**3 FOR X = 1 1 9
    DEVICE 3 CLOSE
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 05/09/2016
Last updated: 05/09/2016

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