Introduction to Adding Titles, Legends, and Insets

In Chapter 7, Reading ODS Tables, you learned how to write ODS tables to SAS data sets and then how to read variables from the data sets into SAS/IML matrices. This chapter shows you how to create titles, legends, and insets on a graph. (An inset is a box that contains statistics and is drawn on the plot.) In particular, you learn how to incorporate statistical information from ODS tables into titles, legends, and insets.

The program statements in this chapter are distributed with SAS/IML Studio. To open the program that contains the statements:

  1. Select File Open File from the main menu.

  2. Click Go to Installation directory near the bottom of the dialog box.

  3. Navigate to the Programs\Doc\STATGuide folder.

  4. Select the Titles.sx file.

  5. Click Open.