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 Dataplot Pages

Dataplot: Miscellaneous Characters

Introduction Miscellaneous symbols can be generated within any TEXT, TITLE, LABEL, or LEGEND command whenever the Hershey fonts (simplex, duplex, triplex, triplex italic, complex, simplex script, and complex script) have been specified (see the FONT command).
Method for Specifying Miscellaneous Symbols To indicate that a special symbol should appear in some text string, simply enter the abbreviated (never more than four characters) name from the list below and append an open and closed parenthesis after the name, as in LAPO(), LBRA(), and RBRA(). The () is a flag to Dataplot that the previous character sub-string is not to be printed literally but rather should be converted and drawn as a special symbol.
Some Examples For example, go to the middle of screen, and draw out ABC surrounded by curly brackets with ABC in upper case simplex font:
    CASE UPPER
    FONT SIMPLEX
    MOVE 50 50
    TEXT LCBR()ABCRCBR()
As another example, go to the middle of screen, and write out x surrounded by two vertical bars (a mathematics notation for the absolute value of x) where X is in lower case triplex font:
    CASE LOWER
    FONT TRIPLEX
    MOVE 50 50
    TEXT VBAR()XVBAR()
Table Showing Available Miscellaneous Symbols The following table shows the available miscellaneous symbols.
    LAPO() left apostrophe
    RAPO() right apostrophe
    LBRA() left bracket
    RBRA() right bracket
    LCBR() left curly bracket
    RCBR() right curly bracket
    LELB() left elbow
    RELB() right elbow
    RACC() right accent
    LACC() left accent
    BREV() breve
    RQUO() right quote
    LQUO() left quote
    NASP() nasp
    IASP() inverted nasp
    RARR() right arrow
    LARR() left arrow
    UARR() up arrow
    DARR() down arrow
    PARA() paragraph
    DAGG() dagger
    DDAG() double dagger
    VBAR() vertical bar
    DVBA() double vertical bar
    LVBA() long vertical bar
    HBAR() horizontal bar
    LHBA() long horizontal bar
    BAR() bar
    DEGR() degree
Dataplot Program to Generate Miscellaneous Symbols

The following Dataplot program was used to generate the miscellaneous characters with a Duplex font.

    hw 1.6 0.8
    font simplex; justification left
    let x1 = 4; let x2 = 36; let x3 = 68
    let x4 = x1+30; let x5 = x2+30; let x6 = x3+30
    let yinc = 5
    .
    move 2 90; text mlc()iscellaneous uc()slc()ymbols:
    let ypos = 85; move x1 ypos; text llc()eft apostrophe
    move x2 ypos; text rlc()ight apostrophe
    move x3 ypos; text llc()eft bracket
    let ypos = ypos - yinc; move x1 ypos; text rlc()ight bracket
    move x2 ypos; text llc()eft curly bracket
    move x3 ypos; text rlc()ight curly bracket
    let ypos = ypos - yinc; move x1 ypos; text llc()eft elbow
    move x2 ypos; text rlc()ight elbow
    move x3 ypos; text dlc()egree
    let ypos = ypos - yinc; move x1 ypos; text llc()eft accent
    move x2 ypos; text blc()reve
    move x3 ypos; text rlc()ight quote
    let ypos = ypos - yinc; move x1 ypos; text llc()eft quote
    move x2 ypos; text nlc()asp
    move x3 ypos; text ilc()nverted nasp
    let ypos = ypos - yinc; move x1 ypos; text rlc()ight arrow
    move x2 ypos; text llc()eft arrow
    move x3 ypos; text ulc()p arrow
    let ypos = ypos - yinc; move x1 ypos; text dlc()own arrow
    move x2 ypos; text plc()aragraph
    move x3 ypos; text dlc()agger
    let ypos = ypos - yinc; move x1 ypos; text dlc()ouble dagger
    move x2 ypos; text vlc()ertical bar
    move x3 ypos; text dlc()ouble vertical bar
    let ypos = ypos - yinc; move x1 ypos; text llc()ong vertical bar
    move x2 ypos; text hlc()orizontal bar
    move x3 ypos; text llc()ong horizontal bar
    .
    justification right
    let ypos = 85; move x4 ypos; text lapo()
    move x5 ypos; text rapo(); move x6 ypos; text lbra()
    let ypos = ypos - yinc; move x4 ypos; text rbra()
    move x5 ypos; text lcbr(); move x6 ypos; text rcbr()
    let ypos = ypos - yinc; move x4 ypos; text lelb()
    move x5 ypos; text relb(); move x6 ypos; text degr()
    let ypos = ypos - yinc; move x4 ypos; text lacc()
    move x5 ypos; text brev(); move x6 ypos; text rquo()
    let ypos = ypos - yinc; move x4 ypos; text lquo()
    move x5 ypos; text nasp(); move x6 ypos; text iasp()
    let ypos = ypos - yinc; move x4 ypos; text rarr()
    move x5 ypos; text larr(); move x6 ypos; text uarr()
    let ypos = ypos - yinc; move x4 ypos; text darr()
    move x5 ypos; text para(); move x6 ypos; text dagg()
    let ypos = ypos - yinc; move x4 ypos; text ddag()
    move x5 ypos; text vbar(); move x6 ypos; text dvba()
    let ypos = ypos - yinc; let xtmp = x4 - 4;move xtmp ypos; text lvba()
    move x5 ypos; text hbar(); move x6 ypos; text lhba()
Dataplot Graph of Miscellaneous Symbols The above program generated the following Dataplot graph.

Plot of miscellaneous symbols

Omit () with CHARACTER Command When special math, greek, or miscellaneous symbols are used as plot characters, the trailing () is left off. For example,
    CHARACTER LBRA RBRA

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 06/05/2001
Last updated: 09/20/2016

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