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 2 Vol 1

XFRAME

Name:
    XFRAME (LET)
Type:
    Let Subcommand
Purpose:
    Determine the frame limits for the x-axis without generating a plot.
Description:
    In some cases, we may want to determine the frame limits that would be computed for a given data set without actually generating a plot. For example, if we are plotting subsets of a data set we may want the limits based on the full data set.

    One minor complication occurs if we have defined a tic mark offset (i.e., the distance from the first or last major tic mark to the end of the frame line. You can use the following command to specify whether you want the tic mark offset included in the returned limits

      SET FRAME LIMIT OFFSET <OFF/ON>

    If you specify OFF, the tic mark offset will not be included. If you specify ON, the tic mark offset will be included.

    Note that this command does not actually set the frame limits. You can use the values returned by this command in a subsequent XLIMITS command to set the limits.

    This command returns the limits for the x-axis. The YFRAME command can be used to return the limits for the y-axis.

Syntax:
    LET <xmin> <xmax> = XFRAME <x>     <SUBSET/EXCEPT/FOR qualification>
    where <x> is a response variable;
                <xmin> is a parameter that stores the minimum value for the x-axis frame;
                <xmax> is a parameter that stores the maximum value for the x-axis frame;
    and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
    LET XMIN XMAX = XFRAME X
    LET XMIN XMAX = XFRAME X SUBSET X > 0
Default:
    None
Synonyms:
    None
Related Commands:
    YFRAME = Return the frame limits for the y-axis.
    LIMITS = Return the frame limits for the y-axis.
Applications:
    Plotting
Implementation Date:
    2016/02
Program 1:
     
    skip 25
    read berger1.dat y x
    .
    set frame limits offset off
    let ymin1 ymax1 = yframe y
    let xmin1 xmax1 = xframe x
    .
    set frame limits offset on
    tic mark offset units screen
    tic mark offset 3 3
    let ymin2 ymax2 = yframe y
    let xmin2 xmax2 = xframe x
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 04/11/2016
Last updated: 04/11/2016

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