Chapter 15
Adding Titles, Footnotes, and Text
Entries to Your Graph
Text Strings in Graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Text Properties and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Text Statement Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Using Titles and Footnotes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Using Text Entries in the Graphical Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Managing the String on Text Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Text Statement Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Using Rich Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Horizontally Aligning Text Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Generating Text Items with Dynamic Variables, Macro
Variables, and Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
Adding Subscripts, Superscripts, and Unicode Rendering . . . . . . . . . . . . . . . . . . . 289
Using Unicode Values in Labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Using Options on Text Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Options Available on All Text Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Setting Text Background, Borders, and Padding . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Managing Long Text in Titles and Footnotes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
ENTRY Statements: Additional Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Features Available for ENTRY Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Positioning ENTRY Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Rotating ENTRY Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Text Strings in Graphs
Using the GTL, you can add and control text that appears in your graph. The annotation
in the following diagram indicates some of the options and statements that are used to set
the text in a typical graph.
281

Get SAS 9.4 Graph Template Language, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.