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

LABEL JUSTIFICATION

Name:
    ...LABEL JUSTIFICATION
Type:
    Plot Control Command
Purpose:
    Specifies the justification of the labels to appear on subsequent plots.
Description:
    The labels are the text which appear below the bottom horizontal frame line and outside of the vertical frame lines. They typically define the variables/axes which are being plotted.

    For most applications, the default justifications are desired (i.e., labels are centered about the appropriate axis). However, there are a few cases where an alternate justification is desirable. The most common case is for the multiplot commands SCATTER PLOT MATRIX, FACTOR PLOT, and CONDITION PLOT.

    The label justification hold for all subsequent plots until defaulted (via the ...LABEL JUSTIFICIATION command with no arguments) or until overridden with new label offsets. The analyst can define offsets for all 5 plot labels:

    1. 3 below the bottom horizontal frame;
    2. 1 to the left of the left vertical frame;
    3. 1 to the right of the right vertical frame line.

    The label is specified by the prefix in the command.

Syntax:
    <prefix>LABEL JUSTIFICATION <value>
    where <value> is a string that specifies the justification;
    and <prefix> is one of the following:
      X1 refers to the first horizontal label
      X2 refers to the second horizontal label
      X3 refers to the third horizontal label
      X refers to the first horizontal label
      Y1 refers to the left vertical label
      Y2 refers to the right vertical label
      Y refers to the left and right vertical labels
      no prefix refers to all 5 axis labels.

    The following justifications are allowed:

      LEFT = left horizontally, bottom vertically
      CENTER = center horizontally, bottom vertically
      RIGHT = right horizontally, bottom vertically
      LECE = left horizontally, center vertically
      CECE = center horizontally, center vertically
      RICE = right horizontally, center vertically
      LETO = left horizontally, top vertically
      CETO = center horizontally, top vertically
      RITO = right horizontally, top vertically
Examples:
    X1LABEL JUSTIFICATION LEFT
    X2LABEL JUSTIFICATION RIGHT
Note:
    A ...LABEL JUSTIFICATION command with no arguments reverts the justification to default. Thus X1LABEL JUSTIFICATION with no arguments reverts the first horizontal axis label to default. A ...LABEL JUSTIFICATION command with no prefix refers to all 5 labels. Thus LABEL JUSTIFICATION CENTER assigns the justification left to all 5 labels. LABEL JUSTIFICATION with no prefix and no arguments reverts all 5 labels to default.
Default:
    The default justifications are all CECE.
Synonyms:
    LJUS and LEBO for LEFT.
    CJUS and CEBO for CENTER.
    RJUS and RIBO for RIGHT.
Related Commands: Applications:
    Control labels for multiplot commands (SCATTER PLOT MATRIX, FACTOR PLOT, CONDITION PLOT).
Implementation Date:
    2000/1
Program:
    SKIP 25
    READ IRIS.DAT Y1 TO Y4 TAG
    MULTIIPLOT CORNER COORDINATES 10 10 90 90
    MULTIPLOT SCALE FACTOR 3
    SET MATRIX PLOT TYPE BIHISTOGRAM
    YLIMITS -0.6 0.6
    YLABEL DISPLACEMENT 30
    SET RELATIVE HISTOGRAM PERCENT
    X1LABEL JUSTIFICATION LEFT
    X2LABEL JUSTIFICATION LEFT
    X1LABEL OFFSET -30
    X2LABEL OFFSET -30
    MATRIX PLOT Y1 Y2 Y3 Y4

    plot generated by sample program

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 6/5/2001
Last updated: 10/30/2015

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