Setting and unsetting the vector font number [message #34708] |
Fri, 04 April 2003 06:21 |
Kristian Kjaer
Messages: 58 Registered: June 1998
|
Member |
|
|
IDL5.6 help says:
<quote>
Once the vector font system is selected, use an embedded formatting
command to select a vector font (or fonts) for each string. (See
Embedded Formatting Commands for details on embedded formatting
commands.) The font selected "sticks" from string to string; that is, if
you change fonts in one string, future strings will use the new font
until you change it again or exit IDL.
For example, to use the Duplex Roman vector font for the title of a
plot, you would use a command that looks like this:
PLOT, mydata, TITLE="!5Title of my plot"
</quote>
So to have all of the lettering in font !5 (including the numbers near
the tickmarks, etc.) one has to include "!5" in the first string
processed by IDL in the plot command, and to reset to the default font
one must end the _last_ string by "!3".
Somewhere I read which this first and last string are, but now I can't
find it.
Does anyone remember?
Any other ideas for setting and unsetting the vector font number?
Thanks, Kristian Kjaer
Risoe Natl. Laboratory
|
|
|