Skip to Main Content
SAS 9.4 Graph Template Language, 3rd Edition
book

SAS 9.4 Graph Template Language, 3rd Edition

by SAS Documentation
August 2014
Intermediate to advanced content levelIntermediate to advanced
652 pages
20h 38m
English
SAS Institute
Content preview from SAS 9.4 Graph Template Language, 3rd Edition
endgraph;
end;
run;
/* Render the graph. */
ods graphics / width=4in height=3in;
proc sgrender data=sashelp.class template=attrrange;
run;
The following figure shows the resulting output.
In the example code, notice that the NAME=”scale” option in the RANGEATTRMAP
statement provides a name for the range attribute map. A RANGE statement specifies a
color for each of four ranges. Because the SCATTERPLOT statement uses the
ContrastColor style attribute for the marker colors in a grouped plot, the
RANGEALTCOLOR= option is used in each RANGE statement to define the range
color. The ATTRVAR=weightrange option in the RANGEATTRVAR statement
provides a name ...
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 Language Reference, 6th Edition

SAS 9.4 Language Reference, 6th Edition

SAS Institute

Publisher Resources

ISBN: 9781629593111