X
125 Rate this article:
No rating

[INTERNAL] Special characters like Angstrom in IDL

Anonym

How can you use superscripts and special characters (Angstrom sign) when one uses !p.font=0?


A lot of the special characters are in the ISOlatin1 character set. After you open your PS file do a DEVICE,/ISOlatin1

Character examples:

    angstrom=string(197B)
    plusminus=string(177B)

For vector drawn fonts (Simplex Roman, for example) use the following:

    xyouts, .5, .5, /norm, '!3'+string("305B), charsi=3 ;angstrom
To see a font, use showfont:
 
    SHOWFONT, 3, 'Simplex Roman'