25
Jun

Pie Charts Redux

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 [...]

The post Pie Charts Redux appeared first on Graphically Speaking.

19
Jan

Advanced ODS Graphics: DRAW statements (part 2)

This post provides examples of DRAW statement syntax and links to the documentation.

The post Advanced ODS Graphics: DRAW statements (part 2) appeared first on Graphically Speaking.

15
Jan

Advanced ODS Graphics: DRAW statements

DRAW statements provide to GTL what SG annotation provides to the SG procedures--a way to add text, shapes, lines, and arrows to graphs.

The post Advanced ODS Graphics: DRAW statements appeared first on Graphically Speaking.

9
Jan

What you need to know about the graph template and data object in PROC 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.

17
Nov

Advanced ODS Graphics: A deeper dive into item stores

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.

3
Nov

Advanced ODS Graphics: A deeper dive into documents, dynamics, and data objects

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.

4
Oct

Introducing the new SAS/STAT lines plot

In PROC GLM and most other procedures that compute LS-means, mean comparisons are now displayed graphically. This makes comparisons between a large number of groups easier to interpret.

The post Introducing the new SAS/STAT lines plot appeared first on Graphically Speaking.

30
Aug

Advanced ODS Graphics: Examining and processing templates

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.

14
Aug

Advanced ODS: Controlling precisely what output is displayed

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.

27
Jul

Advanced ODS Graphics: Equated Axes and the Aspect Ratio

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.

Back to Top