For far too long we have been using the venerable Scatter Plot to do the work of placing text strings in the graph. For far too long we have used the Scatter Plot or the Block Plot to place axis aligned text in the graphs. It is time to
Author
SAS 9.4 maintenance release M2 was released early in August. This release contains some exciting new features in GTL and SG Procedures. In this article, I will describe some of the new options added to the existing plot statements. Note, I will use the SG examples here, but these are
Often there are questions from users on creating histogram using a Log X axis. One such question came up this weekend, where a user wanted a histogram of her data using log axis. Before we get into her specific case, let us first clarify what we may want to see
In her article Creating Spaghetti Plots Just got Easy, Lelia McConnell has provided us a glimpse into some new useful features in the SAS 9.4M2 release. The term Spaghetti plots generally refers to cases where time series plots have to be identified by multiple group classifications. The support for the
This article is by guest contributor Lelia McConnell, SAS Tech Support. Creating Spaghetti Plots Just Got Easy Sample 38076: “Response by patient and treatment group” illustrates how to generate a spaghetti plot using the SGPLOT procedure. Sample 40255: “Plot of study results by treatment group” illustrates how to generate a
A few weeks back I wrote an article on Grouped Timeline for creating a stacked timeline for onset of different virus. The idea in that article was to display a stacked needle on a time axis using a HighLow plot. Such graphs are also referred to as EPI or Epidemic Curve
This article is by guest contributor Lelia McConnell, SAS Tech Support. Several users have called recently to ask the question, “Can I reorder the legend entries on the bar chart that I created with PROC SPLOT?” Although there is no option that does this directly in PROC SGPLOT, the answer
A couple of days back, Rick Wicklin forwarded me a link to an article on the BadHessian Blog on creating a Bar Chart using six different freeware packages in R, Python and Julia. The target bar chart was one produced by the Jetpack stat module with WordPress. The graph is shown below. The unique feature of
This post could be titled something like "Everything you wanted to know about Group Order in GTL - and more." The group ordering shows up in three different ways in your graph. Assignment of attributes (color, marker symbol) to group values. Position of group values in the graph. Display of the group
Spirals are cool. And useful. We use them every day without thinking about it. Every time the road turns from a straight line to a curve, we go through a transition spiral. Spirals allow us to change curvature in a steady increasing or decreasing fashion. Without a spiral, this
The topic of VENN diagrams had come up a while ago. At that time, I thought it may be interesting to build a proportional VENN diagram. But, reading up on VENN Diagrams, I learned that VENN diagrams represent all intersections of N sets, regardless of whether there are actually any observations in one
By now you have heard all about the SAS(R) STUDIO software that provides access to the power of SAS analytics in a Web browser. The SAS(R) University Edition is also available free for higher education teaching, learning and research. This software includes ODS Graphics software for creating graphs. You can
At PharmaSUG 2014 in San Diego, I had the pleasure of attending "Swimmer Plot: Tell a Graphical Story of Your Time to Response Data Using PROC SGPLOT", by Stacey Phillips. In this paper, Stacey presented an interesting graph showing the effects of a study drug on patients' tumor size. Stacey
Recently, a user posed a question on how to plot stacked frequencies on a time axis. The data included frequencies of different viruses by week. The data is modified to preserve confidentiality and is shown below. The user's first instinct was to use a bar chart with stacked groups. This works for automatically computing frequencies
It was almost two weeks ago that I got started making a display for lab tests for a subject, based on a graph I saw on the web for an article on this blog. This graph is a part of a larger panel display of the lab values for a
Just getting back from PharmaSUG 2014 in San Diego. The conference was great, both inside and outside. The organizers ordered up some great weather for the Padres game and also for dinner on the flight deck of the Midway Carrier. Our focus here being on graphics, we were all extremely gratified by the presentations in
SG Procedures and GTL provide you with a large set of plot statements, such as BarChart, ScatterPlot, BoxPlot and more. You can use them for the intended purpose, and all is well and good. However, the real fun starts when you leverage a plot to do something that was not
The series plot is a popular way to visualize response data over a continuous axis like date with a group variable like treatment. Here is some data I made up of a response value by date, treatment, classification and company that makes the drug. The data is simulated as shown in the attached program
Often, the topic of an article is motivated by a question from a user. A satisfactory resolution of the situation is usually a good indication of a topic that may be of interest to other users. On such question was posed to me by a user this weekend. He wanted to display fit
When you hear of a Scatter Plot or a Series Plot, you have a picture in your mind what we are talking about. But one of the plot statements available in GTL, and soon with SGPLOT, is the BLOCK plot. I am sure this leaves many users scratching their heads, wondering
The GCHART procedure has a popular option called G100 to display all the subgroups in % format such that all the subgroup values add up to 100% for each group. Each subgroup is labeled with its own % values. SGPLOT procedure does not such an option, but with a little bit of
SAS Global Forum 2014 was a great success, with the SAS Studio, a web based SAS interface garnering a lot of attention. SAS also announced the availability of SAS Analytics U, providing free web based access to SAS analytics for students, faculty and researchers. The conference had multiple paper and Super demos on data
The SAS Global Forum 2014 is just around the corner starting Sunday, March 23 and I am eager to attend creative presentations from SAS users on ODS Graphics. Adoption of SG procedures, GTL and ODS Graphics Designer is growing among users and I see many promising papers. Papers by users: Something for Nothing!
Often we need to plot multiple response variables on Y axes by a common variable on X axis. When the response variables are very different in magnitudes or format, we prefer to plot the variables on separate Y (Left) and Y2 (Right) axes. Here is some sample data with three response
Classification panels are a very popular visual representation of the data, where the data is gridded by class variables all in one graph. This makes it easy to compare and contrast the data by these class variables. The SGPANEL procedure makes this easy, and most of the time it is
Browsing graphs on the web, this graph caught my eye: The Arctic Sea Ice Volume Graph. My interest is not so much in the debate on Climate Change or Global Warming. To me, this graph has some interesting features that can help show the benefits of plot layering to
The attention of the world is now on Sochi and the Winter Games. Gold, Silver and Bronze medals are being earned by these amazing athletes, and everyone has an eye on the tally. Andre sent me a link to TRinker's R Blog, showing a graph of the current tally. Andre
One of the most popular graph amongst clinical and pharmaceutical users is the Survival Plot as created from the LIFETEST Procedure. This is one graph that users most often want to customize. See Creating and Customizing the Kaplan-Meier Survival Plot in PROC LIFETEST - Warren F. Kuhfeld and Ying So, SAS Institute
Most simple graphs generally include graphical representation of data using various plot type such as bar charts, scatter plots, histograms, box plots step plots and more. Both SG procedures and GTL provide many easy ways to create such graphs. However, for many real world use cases, we need to display related textual data in
Users have often expressed the need for more marker symbols. ODS Graphics supports over 30 scalable marker symbols, both filled and empty. As mentioned in an earlier article, with SAS 9.4, filled markers can now have outlines and fills, and can also have special effects. Also with SAS 9.4, now you