Procedure features: |
|
Sample library
member: |
GTDSCAT
|
![[Scatter plot of sashelp.iris data set]](images/gtdscat.gif)
This
scatter plot examines the results of measuring the petal length,
petal width, and sepal length for the flowers of three species of irises.
The Scatter statement in this example relies on the procedure defaults to:
-
scale the axes to include all the data values
-
label the axes with the
variable's labels
-
divide the axes into three even intervals
-
rotate the horizontal plane 70 degrees around the vertical
axis
-
tilt the plot 70 degrees toward you
-
display the plot with the default ODS style
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
goptions reset=all border; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
title1 "Iris Species Classification";
title2 "Physical Measurement";
title3 "Source: Fisher (1936) Iris Data";
footnote1 j=r "Sepal Width not Shown"; |
![Note about code](../../../../common/63294/HTML/default/images/snbut.gif) |
proc g3d data=sashelp.iris;
scatter PetalLength*PetalWidth=SepalLength;
run;
quit; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.