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

SUPERSCRIPT SCALE

Name:
    SUPERSCRIPT SCALE (SET)
Type:
    Set Subcommand
Purpose:
    Specify the horizontal and vertical scale factors for the size of superscript and subscript characters.
Description:
    By default, Dataplot sets the height and width of characters drawn in superscripts and subscripts to 0.5 of the current character height and width.

    This command allows you to specify a different size factor. Note that the value is entered as a fraction of the current character size. For example, a size of 1.0 leaves the character size unchanged and the default size is 0.5.

Syntax 1:
    SET SUPERSCRIPT HORIZONTAL SCALE <value>
    where <value> is positive number between 0 and 20.

    This syntax sets the width of the superscript/subscript characters relative to the current character width.

Syntax 2:
    SET SUPERSCRIPT VERTICAL SCALE <value>
    where <value> is positive number between 0 and 20.

    This syntax sets the height of the superscript/subscript characters relative to the current character height.

Examples:
    SET SUPERSCRIPT VERTICAL SCALE 1.0
    SET SUPERSCRIPT HORIZONTAL SCALE 1.0

    SET SUPERSCRIPT VERTICAL SCALE 0.75
    SET SUPERSCRIPT HORIZONTAL SCALE 0.5

    SET SUPERSCRIPT VERTICAL SCALE 0.25
    SET SUPERSCRIPT HORIZONTAL SCALE 0.5

Default:
    The default is to set both the character height and width to 0.5 of their current value.
Synonyms:
    SET SUBSCRIPT VERTICAL SCALE is a synonym for SET SUPERSCRIPT VERTICAL SCALE and SET SUBSCRIPT HORIZONTAL SCALE is a synonym for SET SUPERSCRIPT HORIZONTAL SCALE.
Related Commands:
    SUP() = Initiate a superscript in a text string.
    UNSP() = Terminate a superscript in a text string.
    SUB() = Initiate a subscript in a text string.
    UNSB() = Terminate a subscript in a text string.
    TEXT = Generate a text string on a graph.
Applications:
    Presentation Graphics
Implementation Date:
    2001/3
Program:
    erase
    font triplex italic
    crlf off
    hw 4 3
    .
    move 20 95
    text default size:
    move 20 90
    text sub()tunsb()nsup()()13unsp()
    hw .5 1
    arrow 36 91 44 91
    hw 4 3
    text sub()6unsb()csup()13unsp() + lc()beta()sup()+unsp() + nu()
    .
    move 20 75
    text size 1:
    move 20 70
    set superscript horizontal scale 1
    set superscript vertical scale 1
    text sub()tunsb()nsup()()13unsp()
    hw .5 1
    arrow 36 71 44 71
    hw 4 3
    text sub()6unsb()csup()13unsp() + lc()beta()sup()+unsp() + nu()
    .
    move 20 55
    text size 0.5, 0.75:
    move 20 50
    set superscript horizontal scale 0.5
    set superscript vertical scale 0.75
    text sub()tunsb()nsup()()13unsp()
    hw .5 1
    arrow 36 51 44 51
    hw 4 3
    text sub()6unsb()csup()13unsp() + lc()beta()sup()+unsp() + nu()

    plot generated by sample program

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 06/05/2001
Last updated: 11/04/2015

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