Skip to Main Content
SAS 9.4 ODS Graphics, 3rd Edition
book

SAS 9.4 ODS Graphics, 3rd Edition

by Matt Neuburg
August 2014
Intermediate to advanced content levelIntermediate to advanced
1284 pages
50h 37m
English
SAS Institute
Content preview from SAS 9.4 ODS Graphics, 3rd Edition
Output
Program
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;
title;
Program Description
Set the title and create the scatter plot.
proc sgplot data=sashelp.iris;
title "Iris Petal Dimensions";
scatter x=petallength y=petalwidth;
Create the ellipse.
ellipse x=petallength y=petalwidth;
Position the Legend. The LOCATION= option places the legend inside the plot area.
The POSITION= option places the legend at the bottom right.
keylegend / location=inside position=bottomright;
run;
Cancel the title.
title;
Example 5: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS 9.4 ODS Graphics, 2nd Edition

SAS 9.4 ODS Graphics, 2nd Edition

SAS Documentation

Publisher Resources

ISBN: 9781629593159