Infographics are 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
English
In the previous article on managing legends, I described the way to include items in a legend that may not exist in the data. This is done by defining a Discrete Attribute Map, and then requesting that all the values defined in the map should be displayed in the legend. In
Entries in a legend are populated automatically based on the data. When creating a graph with group classification, the display attributes for each bar are derived from the GraphData1-12 style elements from the active style. The graph on the right shows you the result of creating an adverse event timeline
Last month I wrote an article on connecting multiple statistics by category in a box plot using SGPLOT. In the first article I described the way you can do this using overlaid SERIES on a VBOX using SAS 9.4, which allows such a combination. However, if you have SAS 9.3,
A customer wants to use PROC REG to fit a simple regression model but display in the fit plot markers that differentiate groups of individuals. Click on a graph to enlarge. Before we see how to do that, let's look at some simpler examples. The following step fits a linear
Let us start the new year by taking a trip back in history to SAS 9.2, first released in 2008, and the first SAS release that included the new ODS Graphics software including GTL and SG procedures. While we have recently released the third maintenance on SAS 9.4 (SAS 9.40M3),
An interesting question came up recently, where a colleague wanted to create a bar line chart with Revenue on the Y axis and Profit on the Y2 axis. The Revenues were all positive, but the Profit had positive and negative values. Some data I generated is shown on the right. Creating this
A Box Plot is very popular to view the distribution of an analysis variable with one or more classifiers. Also, everyone wants to customize the graph in different ways. One recent request was for creating a box plot by category and group along with the display of various statistics and overlaid
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
This blog post is motivated by a post by a user on the communities page about creating a box plot with colored boxes by category and multiple connect lines. Normally, a box plot can be drawn by category, with a single connect line for one of the statistical values of