Clark Error Grid Graph

The SAS Global Forum conference last week was awesome.  From the perspective of graphics, there were more papers from uses on graphics and ODS graphics then in recent times.  I will post a summary shortly. One of the interesting papers was “#113-2013 – Creating Clark Error Grid using SAS/GRAPH and Annotate…” [...]

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

Bar Chart with Target and Attribute Map

A commonly requested graph is a bar chart with response and targets.  With SAS 9.3, the SGPLOT procedure supports new “parametric” plot statements called HBARPARM and VBARPARM.  These statements are special versions of the HBAR and VBAR statements and they expect summarized data for each category or category+group combination.  Also, [...]

Post a Comment

Cluster groups

The topic of cluster groups comes up often.  By cluster group I am referring to the feature in bar charts where the group values are displayed side by side. With SAS 9.3, SG Procedures support stack or cluster grouping for Bar Charts and overlay or cluster grouping for all other [...]

Post a Comment

Simple maps can go a long way

Charlie Huang recently posted an article on a new way to draw maps using SGPlot procedure.  The basic idea is simple, just use the SCATTER statement to plot the (x, y) points from the data sets in the MAPS library.   The GROUP option can be used to color the markers for each [...]

Post a Comment