PROC SGPLOT displays titles inside the graph. If you want to display a title inside the graph and a different title outside the graph, you can use the ODS LAYOUT or the GTL. The ODS LAYOUT gives you precise control over your output and enables you to display multiple graphs and tables in each page.
SG annotation is a powerful technique for adding text, lines, arrows, shapes, and images to graphs. This blog provides a macro that can help you when you make a mistake in writing the annotations.
In this blog, I will review some of graphs from previous blogs while concentrating on just the axes, grid lines, and reference lines. They might not be the most exciting parts of a graph, but there are multiple options that when properly used can turn a good graph into a great graph.
When displaying maps, geometric shapes (such as circles), or results of certain analyses, it is important to equate axes. This blog illustrates options in PROC SGPLOT that enable you to equate axes.
You can use a range attribute map to control the mapping of values in a continuous variable to colors. This blog shows you how to use PROC SGPLOT to display multiple plots in the same graph and use range attribute maps.
Did you know that you can make a graph extend across multiple pages? Making a multipage graph poses no problem for ODS Graphics---you simply use a BY variable to create page breaks. Most of the work involves deciding where to break pages and properly labeling continuations.
Recently, while browsing health care data, I came across the graph shown below. The graph…
This blog 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.
Today's blog illustrates the REG, PBSPLINE, LOESS, SERIES, and SPLINE statements in PROC SGPLOT. The GROUP= and BREAK options in the SERIES statement are also discussed.
PROC SGPLOT writes a graph template and uses it to create a graph. You can edit the template and then create a modified graph.