It seems only a few months back I posted an article on creating Pie Charts using a GTL based macro. Well, looking back, that was almost 6 years ago!! Recently, a colleague here at SAS needed to create Pie Charts in his report along with other plots created using SGPLOT [...]
PROC SGPLOT looks at the PROC statements, it looks at the data, and it writes a template that might depend on the data. If you want to understand how the graph is created, you need to look at the PROC SGPLOT code, the graph template and data objects that it constructs, and the final graph.
The post What you need to know about the graph template and data object in PROC SGPLOT appeared first on Graphically Speaking.
We'll take a deeper dive into understanding item stores--the files in which compiled templates are stored--and ways in which you can access them. At the end, I will show you one of my new examples: displaying percentages in the Kaplan-Meier failure plot.
The post Advanced ODS Graphics: A deeper dive into item stores appeared first on Graphically Speaking.
You can modify all of the components of the graphs that analytical procedures produce: the data object, graph template, and the dynamic variables. This blog takes a closer look at dynamic variables (which you can see by using PROC DOCUMENT) and data objects and explores graphs that are constructed from more than one data object.
The post Advanced ODS Graphics: A deeper dive into documents, dynamics, and data objects appeared first on Graphically Speaking.
This blog shows a variety of techniques including how to use PROC TEMPLATE and the SOURCE statement, PROC SGPLOT with multiple Y-axis tables, create comparable axes in two side-by-side graphs, create a broken axis, write and use a table template that wraps text, and find and display examples of certain statements in graph templates and fonts in style templates.
The post Advanced ODS Graphics: Examining and processing templates appeared first on Graphically Speaking.
PROC SGPLOT displays titles inside the graph. If you want to display a title inside the graph and a different title outside the graph, you can use the ODS LAYOUT or the GTL. The ODS LAYOUT gives you precise control over your output and enables you to display multiple graphs and tables in each page.
The post Advanced ODS: Controlling precisely what output is displayed appeared first on Graphically Speaking.
When displaying maps, geometric shapes (such as circles), or results of certain analyses, it is important to equate axes. This blog illustrates options in PROC SGPLOT that enable you to equate axes.
The post Advanced ODS Graphics: Equated Axes and the Aspect Ratio appeared first on Graphically Speaking.