13
Jul

Advanced ODS Graphics: PROC SGPLOT, BY groups, and SG annotation

You can use PROC SGPLOT, BY variables, and a SG annotation data set together to put separate annotation into each BY group. However, you need two more steps to make it happen. This post shows all of the steps necessary to put different annotations into each graph when you have a BY variable.

The post Advanced ODS Graphics: PROC SGPLOT, BY groups, and SG annotation appeared first on Graphically Speaking.

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
Apr

A periodic table to help you with your SAS ODS graphics!

There were 97 e-posters in The Quad demo room at SAS Global Forum this year. And the one that caught my eye was Ted Conway's "Periodic Table of Introductory SAS ODS Graphics Examples." Here's a picture of Ted fielding some questions from an interested user... He created a nice/fun graphic, [...]

The post A periodic table to help you with your SAS ODS graphics! appeared first on SAS Learning Post.

21
Feb

Getting started with SGPLOT - Part 10 - Regression Plot

The REG statement fits linear regression models, displays the fit function(s), and optionally displays the data values. You can fit a line or a polynomial curve. You can fit a single function or when you have a group variable, fit multiple functions.

The post Getting started with SGPLOT - Part 10 - Regression Plot 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.

8
Jan

Displaying a grouped regression fit plot along with the parameter estimates

Usually, you use axis tables when there is a clear link between the rows of the axis table and the graph. I'll show how to use an axis table to create a table that is independent of the graph. This post also uses discrete attribute maps.

The post Displaying a grouped regression fit plot along with the parameter estimates appeared first on Graphically Speaking.

5
Jan

Advanced ODS Graphics: Processing ODS OUTPUT data sets from PROC SGPLOT

This post shows you how to run PROC SGPLOT, create smooth curves by using penalized B-splines, use ODS OUTPUT to create an output data set from PROC SGPLOT, and process it to display drop lines.

The post Advanced ODS Graphics: Processing ODS OUTPUT data sets from PROC SGPLOT appeared first on Graphically Speaking.

8
Dec

Advanced ODS Graphics: Applying the POSITION= option to scatter plots

The POSITION= option in the TEXT statement provides you with a way to position text in a variety of locations relative to a point. You can use this option to fine tune label placement in a plot primarily created by using the SCATTER statement and the DATALABEL= option.

The post Advanced ODS Graphics: Applying the POSITION= option to scatter plots appeared first on Graphically Speaking.

Back to Top