| The SGPLOT Procedure |
| Procedure features: |
| |||
| Sample library member: | GSGPLELI |
![[GSGPLELI - Adding a Prediction Ellipse to a Scatter Plot]](images/gsgpleli.gif)
This example shows a scatter plot with a prediction ellipse.
| |
proc sgplot data=sashelp.iris; title "Iris Petal Dimensions"; scatter x=petallength y=petalwidth; |
| |
ellipse x=petallength y=petalwidth; |
| |
keylegend / location=inside position=bottomright; run; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.