Creating Plots | |
Lesson
Summary![]() ![]() |
![]() |
This page contains
|
I. Text Summary
To go to the page where a task, programming feature, or concept was presented, select a link. |
Creating a Basic Plot To plot one variable against another within a set of coordinate axes, you can use the GPLOT procedure. The PROC GPLOT statement invokes the procedure. The DATA= option specifies the data set to be read. The PLOT statement requests one or more plots and specifies the variables to be plotted.
Scaling Axes
Overlaying Plots
Enhancing Plots
Using RUN-Group Processing
Selecting Observations
Viewing and Storing Plots
Additional Features |
II. Syntax
To go to the page where a statement or option was presented, select a link. |
|
III. Sample Programlibname mylib 'd:\reports\permcat'; symbol1 value=triangle interpol=spline height=1 cm width=2 color=red; symbol2 value=square interpol=spline height=1 cm width=2 color=blue; proc gplot data=clinic.totals2000 gout=mylib.permcat; plot therapy*month treadmill*month / overlay haxis='01' '02' '03' '04' '05' '06' vaxis=0 to 300 by 20; where therapy>treadmill; run; |
IV. Points to
Remember
|
![]() ![]() ![]() ![]() ![]() |
|
![]() |
![]() |
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA. All rights reserved.