| The G3D Procedure |
| Procedure features: |
| ||||||
| Sample library member: | GTDSHAPB |
![[Scatter Plot with Grid Noneedles]](images/gtdshapb.gif)
This scatter plot modifies the results of measuring the petal length, petal width, and sepal length for the flowers of three species of irises by:
using a DATA step to add a color variable and a shape variable to the data set
using shapes to distinguish iris species
using colors to distinguish iris species
removing needles from data points
adding a grid
| |
goptions reset=all border; |
| |
title1 "Iris Species Classification"; title2 "Physical Measurement"; footnote1 j=r f="Albany AMT/it" "Source: Fisher (1936) Iris Data"; |
| |
proc g3d data=iris;
scatter PetalLength*PetalWidth=SepalLength/
color=color
shape=shape
noneedle
grid;
run;
quit; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.