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
Figure 12.4 LATTICE with Adjusted Row Depths
For another example, see “Example 5: Lattice with Custom Row Sizing” on page 222.
Adjusting the Graph Size
When defining the lattice grid size, you generally have some idea of a good overall
aspect ratio for the graph. Consider the following example of a one row by three column
lattice.
Example Code 12.1 Three-Cell Lattice Layout Example
proc template;
define statgraph graphsize2;
begingraph;
entrytitle "Comparison of Fit Lines";
layout lattice / columns=3 rows=1 rowdatarange=union;
/* Cell 1 */
layout overlay;
entry "Spline" / location=outside valign=top;
scatterplot x=weight y=mpg_city /
markerattrs=(size=3px ...
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