Traditional Graphics in the IML Procedure


Graphics Examples

This section provides programs and code for three examples that involve graphics in PROC IML. The first example shows a $2 \times 2$ matrix of scatter plots and a $3 \times 3$ matrix of scatter plots. A matrix of scatter plots is useful when you have several variables that you want to investigate simultaneously rather than in pairs. The second example draws a grid for representing a train schedule, with arrival and departure dates on the horizontal axis and destinations along the vertical axis. The final example plots Fisher’s iris data. The following example shows how to plot several graphs on one page.