Animation using SGPLOT

Often we want to visualize the relationship between variables over time.  The understanding of such data can be improved by viewing the animated graph over time.  With SAS 9.4, you can create animated graphs using the new animation options on the OPTIONS statement and the PRINTER destination. A popular example an […]

Post a Comment

Report from PharmaSUG 2013

The PharmaSUG 2013 conference in Chicago this week was awesome.  From the perspective of graphics, there was great interest in using SG Procedures, Designer and GTL for building clinical graphs.  It was nice to see many papers by users on how they are using these tools for creating graphs on a daily […]

Post a Comment

Attribute Maps - 1

You created a graph of Response over Time by Severity where Severity has three levels, "Severe", "Moderate' and "Mild".  How do you ensure that "Severe" is always red in your graph, regardless of the data order? Normally, when creating any graph with a GROUP role, the distinct group values are assigned the style […]

Post a Comment

Custom Box Plots

A frequent question we get from users is how to create a box plot with custom whiskers lengths.  Some want to plot the 10th and 90th percentile, while other want the 5th and 95th percentiles.  The VBOX statement in the SGPLOT  procedure does not provide for custom whiskers.  Also, unlike GTL, […]

Post a Comment

Controlling Point Labels on Series Plot

SG procedures and GTL use a collision avoidance algorithm to position data labels for a scatter or series plot.  This is enabled by default.  The label is preferably placed at the top right corner of the marker.  The label is moved to one of the eight locations around the marker to […]

Post a Comment

Parametric Bar Charts

A parametric bar chart in SG Procedure and GTL parlance is a simplified version of the regular bar chart, where the data is assumed to be summarized prior to its usage inside the SG procedures or GTL.  So, multiple occurrences of the same category and / or group combination is […]

Post a Comment

PharmaSUG 2012 update

PharmaSUG 2012 conference drew to a close today, concluding two and a half days packed with papers, presentations, posters, hands-on demos and super demos by SAS staff.  While the weather outside was a bit chilly from time to time, the conference what hopping with many user papers on how to […]

Post a Comment

Graphs with log axis

Recently I posted an article on this blog on how to create bar charts with log response axes in response to a question by a user.  This generated some feedback suggesting that bar charts should not be used with log response axes or with a baseline of anything other than […]

Post a Comment

Simpler is better

A recent article in the SAS and R blog was about current winter temperatures in Albany, NY.  The temperature data for the recent winter (Dec 2011 - Mar 2012) was plotted on a polar graph. Robert Allison posted an article on displaying the same data as a Polar Graph using SAS/GRAPH .  Here is his […]

Post a Comment

Adverse event timeline - revisited

The Adverse Event Timeline graph posted earlier used the MARKERCHAR option of the SCATTER plot to draw the AE names.  This option places a center-justified label at the marker position.  There is no option in SAS 9.2 version to right-justify the label.  Hence, we have to compute an offset in data […]

Post a Comment