Posts Tagged ‘ Statistical Graphics ’

What colors does PROC SGPLOT use for markers?

February 6, 2017
By
What colors does PROC SGPLOT use for markers?

Suppose you create a scatter plot in SAS with PROC SGPLOT. What color does PROC SGPLOT use for the markers? If you specify the GROUP= option so that markers are colored by a grouping variable, what colors are used to represent the various groups? The following scatter plot shows the

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on What colors does PROC SGPLOT use for markers?

Automate the creation of a discrete attribute map

January 30, 2017
By
Automate the creation of a discrete attribute map

If you are a SAS programmer and use the GROUP= option in PROC SGPLOT, you might have encountered a thorny issue: if you use a WHERE clause to omit certain observations, then the marker colors for groups might change from one plot to another. This happens because the marker colors

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Automate the creation of a discrete attribute map

Is “La Quinta” Spanish for “Next to Denny’s”?

January 6, 2017
By
Is “La Quinta” Spanish for “Next to Denny’s”?

“La Quinta” is Spanish for “next to Denny’s.”      -- Mitch Hedberg, comedian Mitch Hedberg's joke resonates with travelers who drive on the US interstate system because many highway exits feature both a La Quinta Inn™ and a Denny's® restaurant within a short distance of each other. But does a

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Is “La Quinta” Spanish for “Next to Denny’s”?

Append data to add markers to SAS graphs

November 30, 2016
By
Append data to add markers to SAS graphs

Do you want to create customized SAS graphs by using PROC SGPLOT and the other ODS graphics procedures? An essential skill that you need to learn is how to merge, join, append, and concatenate SAS data sets that come from different sources. The SAS statistical graphics procedures (SG procedures) enable

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Append data to add markers to SAS graphs

Highlight forecast regions in graphs

November 21, 2016
By
Highlight forecast regions in graphs

A SAS customer asked how to uses background colors and a dashed line to emphasize the forecast region for a graph that shows a time series model. The task requires the following steps: Use the ATTRPRIORITY=NONE option on the ODS GRAPHICS statement to make sure that the current ODS style

The post Read more »

Tags: ,
Posted in SAS | Comments Off on Highlight forecast regions in graphs

Visualize the ages of US presidents

November 14, 2016
By
Visualize the ages of US presidents

Who was the oldest person elected president of the United States? How about the youngest? Who was the oldest when he left office? Let's look at some data. Wikipedia has a page that presents a table of the presidents of the US by age. It lists the dates for which

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Visualize the ages of US presidents

Visualize a torus in SAS

November 9, 2016
By
Visualize a torus in SAS

This article uses graphical techniques to visualize one of my favorite geometric objects: the surface of a three-dimensional torus. Along the way, this article demonstrates techniques that are useful for visualizing more mundane 3-D point clouds that arise in statistical data analysis. Define points on a torus A torus is

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Visualize a torus in SAS

Rotation matrices and 3-D data

November 7, 2016
By
Rotation matrices and 3-D data

Rotation matrices are used in computer graphics and in statistical analyses. A rotation matrix is especially easy to implement in a matrix language such as the SAS Interactive Matrix Language (SAS/IML). This article shows how to implement three-dimensional rotation matrices and use them to rotate a 3-D point cloud. Define

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Rotation matrices and 3-D data

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors





Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.