Re: !p.font=0 [message #2625 is a reply to message #2621] |
Wed, 10 August 1994 01:54   |
sjt
Messages: 72 Registered: November 1993
|
Member |
|
|
BOROSON BRAM S (boroson@spot.Colorado.EDU) wrote:
: I usually don't like the built-in "vectorized" text in IDL, so when
: I make plots in postscript, I use the command !p.font=0 to use intrinsic
: Postscript fonts. However, when it writes the numbers on the axes, it
: uses 2 * 10^8 instead of 2 x 10^8 (i.e., I'd prefer x as the multiplication
: symbol.) Also, how does one use superscripts and special characters
: (Angstrom sign) when one uses !p.font=0?
: Thanks for your help!
: Bram Boroson
: boroson@jila02.colorado.edu
The range of superscripting/subscripting etc. is somewhat more restricted
than for vector fonts, if I remember rightly the list of ! commands is
given in the PS device section of the reference manual.
Special characters: some (including I think Angstrom) are in the 8-bit
charset, but you'll need to check out the mappings there is a routine in
the userlib that plots all the characters out (I suggest using a
previewer to look at the results as it makes about a hundred pages of
output). Others are in the symbol font (notably the greek letters) so a
gamma would be '!9g!3'. Note that neither the font number nor the letter
mapping is the same as for the vector fonts.
--
James Tappin, School of Physics & Space Research
University of Birmingham
sjt@xun8.sr.bham.ac.uk
"If all else fails--read the instructions!"
O__
-- \/`
|
|
|