font
|
font= plotting keyword
or height= plotting keyword
or opaque= plotting keyword
or orient= plotting keyword
or justify= plotting keyword
selects text properties. The font can be any of the strings
"courier", "times", "helvetica" (the default), "symbol", or
"schoolbook". Append "B" for boldface and "I" for italic, so
"courierB" is boldface Courier, "timesI" is Times italic, and
"helveticaBI" is bold italic (oblique) Helvetica. Your X server
should have the Adobe fonts (available free from the MIT X
distribution tapes) for all these fonts, preferably at both 75
and 100 dpi. Occasionally, a PostScript printer will not be
equipped for some fonts; often New Century Schoolbook is missing.
The font keyword may also be an integer: 0 is Courier, 4 is Times,
8 is Helvetica, 12 is Symbol, 16 is New Century Schoolbook, and
you add 1 to get boldface and/or 2 to get italic (or oblique).
The height is the font size in points; 14.0 is the default.
X windows only has 8, 10, 12, 14, 18, and 24 point fonts, so
don't stray from these sizes if you want what you see on the
screen to be a reasonably close match to what will be printed.
By default, opaque=0 and text is transparent. Set opaque=1 to
white-out a box before drawing the text. The default orient
(orient=0) is left-to-right text; set orient=1 for text rotated 90
degrees so it reads upward, orient=2 for 180 degree rotation so
it is upside down, and orient=3 for 270 degree rotation so it
reads downward.
The default text justification, justify="NN" is normal is both
the horizontal and vertical directions. Other possibilities
are "L", "C", or "R" for the first character, meaning left,
center, and right horizontal justification, and "T", "C", "H",
"A", or "B", meaning top, capline, half, baseline, and bottom
vertical justification. The normal justification "NN" is equivalent
to "LA". Common values are "LA", "CA", and "RA" for garden variety
left, center, and right justified text, with the y coordinate at the
baseline of the last line in the string presented to plt. The
characters labeling the right axis of a plot are "RH", so that the
y value of the text will match the y value of the corresponding
tick. Similarly, the characters labeling the bottom axis of a plot
are "CT". The justify= may also be a number, horizontal+vertical,
where horizontal is 0 for "N", 1 for "L", 2 for "C", or 3 for "R",
and vertical is 0 for "N", 4 for "T", 8 for "C", 12 for "H",
16 for "A", or 20 for "B".
PLOTTING COMMANDS: plt
keyword, defined at i0/graph.i line 967
|