Tips and Tricks
Today, I focus on the steps needed to make a graph that is composed of multiple heterogeneous components (in this case, dendrograms and a heat map).
Tips and Tricks
Today, I focus on the steps needed to make a graph that is composed of multiple heterogeneous components (in this case, dendrograms and a heat map).
Last week I published an article on creating bar charts with visual category values. The idea was to use visual icons for the category values in a HBAR of age by animal. For the data, I referred to a visual from the 2010 Encyclopedia Britannica Inc. that I found on the
A grouped box plot created by SGPLOT VBOX / HBOX statement or GTL BOXPLOT statement will display groups within categories using group colors and puts the color swatches representing the group values in the legend. This works well for a color graph created as shown below. title 'Distribution of Cholesterol
We often say a picture (or graph) is worth a thousand words. So, recursively, this could apply to other text in the graph. I thought it would be interesting to see if we can create a graph with visual categories. Another benefit is that such visual categories are inherently meaningful
In his recent blog article on Drawing Paths on a Map using SGPLOT, Robert Allison showed us visually the path computed by the captain of his return flight from Orlando. As usual, one can rely on Robert to put in visual form some interesting bit of information. Thanks, Robert. I
This post shows you how to make a bar chart and an X-axis table; ensure consistency in the order of the legend, bar subgroups, and axis table rows; coordinate the colors for each of those components; and drive all the color choices from an attribute map.
SAS Global Forum 2017 is around the corner and SAS users are gearing up to travel to Orlando for a blockbuster conference. ODS Graphics is now a well known component of Base SAS and many readers of this blog who are proficient users of SG Procedures and GTL can look
This article is motivated by a recent question on the Communities Web Site on creating a scatter plot with additional summary information. Recently, I described how to create a scatter plot with a box overlay. While such graphs have been discussed in earlier posts, this article provided a visual benefit
This is the 4th installment of the Getting Started series. The audience is the user who is new to the SG Procedures. Experienced users may also find some useful nuggets of information here. Series plots are frequently used to visualize a numeric response on the y-axis by another numeric variable on
Funnel graphs are useful to track the number of visitors passing through various pages of a website or the number of patients in a study. The graph shows visually the retention of users or subjects in a study across levels of a marketing cycle or the study. One common representation
Today's post illustrates the REG, PBSPLINE, LOESS, SERIES, and SPLINE statements in PROC SGPLOT. The GROUP= and BREAK options in the SERIES statement are also discussed.
Back in 2013, I wrote a paper for the SAS Global Forum, reviewing the attributes that go towards making a good graph. In this paper, I covered many recommendations from industry thought leaders that can help enhance the effectiveness of graphs to deliver the intended information. One of the aspects that
PROC SGPLOT writes a graph template and uses it to create a graph. You can edit the template and then create a modified graph.
I review some fundamental principles of creating axis tables along with graphs that have TYPE=LINEAR or TYPE=DISCRETE axes.
Axis tables enable you to combine tabular and graphical information into a single display. I love axis tables. My involvement with axis tables dates back over 30 years to their ancient predecessor, the table that contains an ASCII bar chart. In the mid 1980s, I created a table in PROC
Yesterday, I published an article on Axis values display, where I mentioned the desire expressed by many users to get x-axis tick values in Hotel text orienttion. The name comes from the way many hotel signs are displayed as shown on the right. Such arrangement of text can also be very
Displaying nicely rendered axis values reduces clutter and makes the graph more readable. With SAS 9.4, we added the ability for splitting x-axis tick values on white space to create a nice and readable x-axis as shown in the graph on the right. It is always a challenge to fit
Some observant readers may have noticed a new icon on the right sidebar of this blog announcing the release of the new SAS Press book on the ODS Graphics Designer, written in collaboration with Jeanette Bottitta. Jeanette is a Technical Writer at SAS and has worked on various SAS Graphics products
Browsing on the web, I ran into a simple but visually interesting graph of financial data. Really, it could be any data, but this one showed up under "Financial Graphs". I thought this would give me an opportunity to speak about an interesting new feature added to SERIES plot with
This is the 3rd installment of the Getting Started series, and the audience is the user who is new to the SG Procedures. Experienced users may also find some useful nuggets here. The Tukey box plot is popular among statisticians for viewing the distribution of an analysis variable with or without
Index of articles on "Getting Started with SGPLOT Procedure". Getting Started with SGPLOT - Part 1 - Scatter Plot. Getting Started with SGPLOT - Part 2 - VBAR. Getting Started with SGPLOT - Part 3 - VBOX. Getting Started with SGPLOT - Part 4 - Series Plot. Getting Started with
One of the key benefits of creating graphs using GTL or SG Procedures is their support of plot layering to create complex graphs and layouts. Most simple graphs can be created by a single plot statement like a Bar Chart. Complex graphs can be created by layering appropriate plot statements to
This is the 2nd installment of the "Getting Started" series, and the audience is the user who is new to the SG Procedures. It is quite possible that an experienced users may also find some useful nuggets here. One of the most popular and useful graph types is the Bar
In my previous post, I showed you how to change the titles in graphs produced by analytical procedures; today I will show you how to remove subtitles that procedures display on some output pages. The following step creates output that contains a SAS title ('Illustrate the CIF Plot'), a PROCTITLE
Last week a user asked about BY variable group processing for SGAnnotate with SGPLOT procedure. The user provided a simple use case for the question (always a good idea) using the sashelp.class data set. The graph included a display of reference lines for the mean value of height using annotation. The
One request came in for the previous article on Circle link graph, for the addition of arrow heads to indicate the direction of the flow. Given that I am using a SERIES plot to render the links, it is relatively easy to add arrow heads to the links as the SERIES
There has been some interest in "Circle Link Graph" diagrams where the nodes are laid out in a circle, with links going from one node in the circle to another. I recall seeing one diagram during the 2014 World Cup Soccer tournament, showing the number of players from one country that
A Spider Plot is another way of presenting the Change from Baseline for tumors for each subject in a study by week. The plot can be classified by response and stage. Another way of displaying Tumor Response data was discussed earlier in the article on Swimmer Plot. This article is prompted
Over the past few weeks I have heard about the "Consort Diagram". This was mentioned in a Communities article, and also by a couple of users separately. This topic was also covered by Anusha Mallavarapu and Dean Shults from Cytel in a poster at PhUSE 2016 as shown on the
Have you ever wanted to modify a graph title that is produced by an analytical procedure? You can make a wide variety of changes by modifying the graph template. Modifying the graph template is straight forward. You specify ODS TRACE ON, run the procedure, find the template name, display the