The GOPTIONS statement
has several options that can be used to specify fonts for your graphs.
-
FBY= sets the BY line font in your
graphs.
-
FTEXT= sets the font for all the
text in your graphs.
-
FTITLE= sets the font for the first
title in your graphs.
For example, to specify
Cumberland AMT for all of the text in your graphs, use
goptions ftext="Cumberland AMT";
Settings specified in
the GOPTIONS statement remain in effect until you change them, until
you specify
reset=all
, or until you close
the SAS session.
If you want most or
all of the text in your output to use a single font, specifying this
font with the FTEXT= graphics option is frequently the best alternative.
Using the FTEXT= option in the GOPTIONS statement instead of adding
font specifications to several procedure action statements in addition
to other global statements makes your code easier to maintain.
Note: When you are sending
SAS/GRAPH
output to the HTML or RTF destinations (MARKUP destinations), titles
and footnotes can be rendered as part of your graph image or as part
of the HTML or RTF files. Where your titles and footnotes are rendered
determines the fonts that are used for them.
See Controlling Titles and Footnotes for information
about the GTITLE and GFOOTNOTE destination options and the ODS USEGOPT
statement.