Legend order and group attributes

In this blog, I will show you how to control the order of the entries in a legend and explicitly control the correspondence between groups and style elements in PROC SGPLOT. In many cases, the colors that are used to differentiate groups do not matter--the graph simply needs to display […]

Post a Comment

Infographics using SAS

Infographics is all the rage today.  Open any magazine or newspaper and we see data and numbers everywhere.  Often, such information is displayed by adding some graphical information to add context to the data.  A couple of good examples are Communicating numeric information, and Facts about Hot Dogs. Riley Benson, our UX […]

Post a Comment

Boxplot with Connect using Annotate

In the previous article I described a way to create a box plot with multiple connect lines using SAS 9.40M1 or later release .  I created the graph using SGPLOT with VBOX and overlaid SERIES statements.  Such an overlay of a basic plot on the VBOX statement is supported starting […]

Post a Comment

Axis Customizations

All axis customization features are always welcome.  Especially since SGPLOT statements can often be used to create non standard graphs, having the ability to customize the axes is important.  This article presents ways in which you can customize the discrete axes. By default, the x axis will try to display the […]

Post a Comment

Something Different - SAS 9.40M3

The SGPLOT procedure provides great tools to create all kinds of graphs for all domains from business to clinical.  However, every so often, we need to create visuals that are not exactly graphs, but more like flow or network diagrams, or something entirely unique.  Some users may have tools to […]

Post a Comment

A Macro for Polygon Area and Center

A few weeks back I saw a couple of posts on the Communities page from users wanting to find ways to compute the area of an general polygon and also the center of the area.  I felt such features likely existed somewhere in the SAS/GRAPH set of procedures, so I asked our resident […]

Post a Comment

Bar Chart on Interval Axis - SAS 9.40M3

When we first released GTL and SG Procedures back with SAS 9.2, Box Plots and Bar Charts would always treat the category axis as discrete.  We realized soon enough that we need to support box plots on scaled interval axes for many clinical applications, and this was added in SAS […]

Post a Comment

Unicode in Formatted Data - SAS 9.40M3

SAS 9.4 Maintenance release 3 was released on July 14.  The ODS Graphics procedures include many important, useful and cool features in this release, some that have been requested by you for a while.  In the next few articles, I will cover some of these features.  Last time I covered […]

Post a Comment

Is that Annotate?

The SGPLOT procedures includes features to add annotations to your graph in many different ways.  Annotations provide you a flexible way to add features to your graph that are not available through the standard plot statements. Recently, I saw this graph on the web that caught my attention.  Clearly, this looks like […]

Post a Comment

Report from PharmaSUG 2015

PharmaSUG 2015 in Orlando was held at the Renaissance had a record breaking attendance of over 650.  Weather was great, except for a huge downpour on the evening of the last day.  All the popular presenters were in attendance including Art Carpenter, Kirk Lafler, Arthur Li and many others. Presentations […]

Post a Comment