|Doing More with SAS/ASSIST Software|
You can use Plots on the Graphics menu to create simple X * Y plots, X * Y plots by category, or multiple plots on one set of axes. In the "Graphics" chapter of Getting Started with the SAS System Using SAS/ASSIST Software, you learned how to produce a simple line plot. This section describes some of the more advanced plotting options.
|Creating a Scatter Plot with the Regression Line Superimposed|
In this section
you create a plot showing the relationship between the height and the age
of students in the CLASS table, and you leave the points on the plot unconnected.
Additionally, you plot the fitted regression line and upper and lower 95%
confidence limits for an individual prediction.
|Tasks||Graphics||Plots||Simple X * Y plot|
Simple X * Y Plot Window
The default label associated with the vertical axis column, Height in inches, is used as the vertical axis label.
The default label associated with the horizontal axis column, Age in years, is used as the horizontal axis label.
|Additional options||Line and symbol options||Interpolation method||Use regression analysis to plot|
Regression Method Window
The Additional options item displays different windows depending on the type of plot you select.
Height by Ageas the title for the plot.
Note: Titles carry over from one report or graphic to
another. If you do not type a title and a title was selected previously in
the current SAS/ASSIST session, the previous title automatically appears on
X * Y Plot Output
|Additional Plot Options|
By choosing X * Y Plot by
instead of Simple X * Y Plot, you can add an extra
dimension to your plot. For example, using the SASUSER.CLASS table, and plotting
HEIGHT versus WEIGHT, you can choose AGE as a category column. Each point
on the plot is a different color depending on the age of the child represented
by the data point. You can choose different line and symbol options for each
value of the category column.
By choosing Multiple
Plots Per Axes
instead of Simple X * Y Plot, you can specify up
to four columns for the vertical axis. For example, using the SASUSER.CLASS
table, you can plot both HEIGHT and WEIGHT versus AGE. For each plot, you
can specify different line and symbol options.
By selecting Additional Options, you can
Top of Page
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.