CHAPTER 12

image

Converting SAS/GRAPH Annotate to ODS Graphics

The previous chapter described how many standard SAS/GRAPH plots can be converted easily to ODS Graphics by using simple PROC SGPLOT or PROC SGPANEL code. SAS/GRAPH Annotate code would seem, at first glance, to be much more difficult to convert to ODS Graphics; but by making use of its layering features, many Annotate plots can be replicated in a flexible and repeatable way.

This chapter compares the output from commonly used Annotate and SAS/GRAPH code for producing annotated graphs with equivalent code that uses only ODS Graphics. Each ODS Graphics program is rated as follows:

  • Easy: One ...

Get SAS Programming and Data Visualization Techniques: A Power User’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.