Overview

SAS/IML software provides you with a powerful set of graphics commands, called graphics primitives, from which to create customized displays. Basic drawing statements include the GDRAW subroutine, which draws a line, the GPOINT subroutine, which plots points, and the GPOLY subroutine, which draws a polygon. With each drawing statement, you can associate a set of attributes such as color or line style.

In this chapter you learn about

  • plotting simple two-dimensional plots

  • naming and saving a graph

  • changing attributes such as color and line style

  • specifying the location and scale of your graph

  • adding axes and text

SAS/IML graphics commands depend on the libraries and device drivers distributed with SAS/GRAPH software, and they do not work unless you have SAS/GRAPH software.