There are many situations where it is beneficial to display the data using a polar graph. Often your data may contain directional information. Or, the data may be cyclic in nature, with information over time by weeks, or years. The simple solution is to display the directional or time data
Tag: SGPLOT procedure
Often we see bar charts showing revenues or other related measures by a classifier using a visual of a stack of coins. Such visuals are not strictly for the purposes of accurate magnitude comparisons, but more for providing an interesting visual to attract the attention of the reader. In other words -
I have written a new book on advanced ODS Graphics examples. It is available as a free PDF file on the web. It is in color, and all of the SAS code is available by double clicking a link at the beginning of each example. Advanced ODS Graphics Examples Update:
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
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
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
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
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
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