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
length label $10;
if age > 12 then label='Teen';
else label='Pre-Teen';
run;
In this bar chart example, the procedure splits Pre-Teen at the hyphen (-) whenever the
text does not fit within the bar width.
ods graphics / width=4.5in;
proc sgplot data=class;
vbar name / response=weight
datalabel=label splitchar="-";
run;
Notice that the split character does not appear in the labels. To force the split character to
appear, specify the SPLITCHARNODROP option.
Fit Policies for Axes
For X axes in the SGPANEL and SGPLOT procedures, you can specify split options for
the fit policy. The FITPOLICIES= option specifies the method that is used to fit tick
mark ...
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