Getting started with SGPLOT - Part 2 - VBAR

This is the 2nd installment of the "Getting Started" series, and the audience is the user who is new to the SG Procedures. It is quite possible that an experienced users may also find some useful nuggets here. One of the most popular and useful graph types is the Bar […]

Post a Comment

Clinical Graphs: Spider plot

A Spider Plot is another way of presenting the Change from Baseline for tumors for each subject in a study by week.  The plot can be classified by response and stage.  Another way of displaying Tumor Response data was discussed earlier in the article on Swimmer Plot. This article is prompted […]

Post a Comment

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