Paper 154-2010
Using PROC SGPLOT for Quick High-Quality Graphs
Susan J. Slaughter, Avocet Solutions, Davis, CALora D. Delwiche,
University of California, Davis, CA
ABSTRACT
New with SAS® 9.2, ODS Graphics introduces a whole new way of generating high-quality graphs using SAS. Withjust a few lines of code, you can add sophisticated graphs to the output of existing statistical procedures, or createstand-alone graphs. The SGPLOT procedure produces a variety of graphs including bar charts, scatter plots, and linegraphs. This paper shows how to produce several types of graphs using PROC SGPLOT, and how to create paneledgraphs by converting PROC SGPLOT to PROC SGPANEL. This paper also shows how to send your graphs todifferent ODS destinations, how to apply ODS styles to your graphs, and how to specify properties of graphs, such asformat, name, height, and width. Last, this paper shows how to use the SAS/GRAPH® ODS Graphics Editor to makeone-time changes to graphs..
SAS作图终于拿得出手了。