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

TITLE COLOR

Name:
    TITLE COLOR
Type:
    Plot Control Command
Purpose:
    Specifies the color of the title to appear on subsequent plots.
Description:
    The title is the text which appears above the top horizontal frame line. The title color holds for all subsequent plots until defaulted (via the TITLE COLOR command with no arguments) or overridden with new title colors.

    Dataplot provides two methods for specifying colors.

    1. Colors can be defined by name (or by the corresponding index). Dataplot adopted it's named colors from the X11 project. Currently, 162 named colors and 100 levels of grayscale are supported. Grayscale can be specified with either G0, G1, ..., G100 (or -1, -2, ..., -100). Many older devices support only a limited number of colors. For these devices, unsupported colors will be mapped to one of the available colors. To specify a named color, see Syntax 1.

    2. Most modern graphics devices support full RGB (RedBlueGreen) color. You can alternatively specify RGB colors by entering three integer values to represent the Red, Green and Blue components, respectively. These values should be in the range 0 to 255.

    When setting the title RGB color, Dataplot first checks if the device supports RGB colors. If not, the named color will be used. If the device does support RGB color, Dataplot will check if an RGB color has been specified. If yes, then that RGB color is used. If not, the named color will be used.

    To see the list of supported named colors (with the associated index number), see

    https://www.itl.nist.gov/div898/software/dataplot/refman1/ch11/homepage.htm

Syntax 1:
    TITLE COLOR <color>
    where <color> is a character string that specifies the desired color.
Syntax 2:
    TITLE RGB COLOR <red> <green> <blue>
    where <red> is a number or parameter that specifies the red component;
                <green> is a number or parameter that specifies the green component;
    and     <blue> is a number or parameter that specifies the blue component.

    To turn off the RGB color, set the values to -1 (any negative value will work). Values greater than 255 will be set to 255.

Examples:
    TITLE COLOR BLUE
    TITLE COLOR YELLOW
    TITLE COLOR WHITE
    TITLE RGB COLOR 220 109 88
Default:
    The title color is black.
Synonyms:
    None
Related Commands: Applications:
    Presentation Graphics
Implementation Date:
    Pre-1987
    2020/11: Support for RGB colors.
Program 1:
     
    SKIP 25
    READ GEAR.DAT DIAMETER BATCH
    .
    TITLE COLOR BLUE
    TITLE CASE ASIS
    LABEL CASE ASIS
    LEGEND CASE ASIS
    TITLE  Gear Diameter Analysis
    Y1LABEL Cpk
    X1LABEL Batch
    LEGEND 1 Process Capability
    LEGEND 2 Cpk Plot
    XTIC OFFSET 0.5 0.5
    CHARACTER X BLANK
    LINE BLANK SOLID
    .
    LET LSL = 0.98
    LET USL = 1.02
    CPK PLOT DIAMETER BATCH
        
    plot generated by sample program
Program 2:
     
    SKIP 25
    READ GEAR.DAT DIAMETER BATCH
    .
    TITLE COLOR BLUE
    TITLE COLOR 175 238 238
    TITLE CASE ASIS
    LABEL CASE ASIS
    LEGEND CASE ASIS
    TITLE  Gear Diameter Analysis
    Y1LABEL Cpk
    X1LABEL Batch
    LEGEND 1 Process Capability
    LEGEND 2 Cpk Plot
    XTIC OFFSET 0.5 0.5
    CHARACTER X BLANK
    LINE BLANK SOLID
    .
    LET LSL = 0.98
    LET USL = 1.02
    CPK PLOT DIAMETER BATCH
        
    plot generated by sample program

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 05/13/2021
Last updated: 05/13/2021

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