Skip to Main Content
SAS 9.4 ODS Graphics, 2nd Edition
book

SAS 9.4 ODS Graphics, 2nd Edition

by SAS Documentation
December 2013
Beginner to intermediate content levelBeginner to intermediate
1172 pages
45h 47m
English
SAS Institute
Content preview from SAS 9.4 ODS Graphics, 2nd Edition
an OFFSETMIN= value for the Y axis. (If the legend’s position was at the top of the
plot, an OFFSETMAX= value would be specified instead.)
ods graphics / reset width=4in;
title "Mileage by Type (Excluding Hybrids)";
proc sgplot data=sashelp.cars;
where type ne "Hybrid";
vbar type / response=mpg_city;
keylegend / location=inside position=bottom;
xaxis grid;
yaxis offsetmin=0.15 display=(nolabel);
run;
title;
Note: For HBOX, HBAR, HLINE, and DOT plot statements, the Y axis is reversed by
default, so the axis origin is at the top. As a result, you use OFFSETMAX= to create
an offset at the bottom of the axis. OFFSETMIN= is used to create an offset at ...
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, 3rd Edition

SAS 9.4 ODS Graphics, 3rd Edition

Matt Neuburg

Publisher Resources

ISBN: 9781612909998