4
Dec

Little things go a long way

In my previous post, I described a new options to control the widths of the caps for Whiskers, Error and Limit bars.  This topic could have been titled "Little things go a long way", as such details really make for a good graph. In a similar manner, another detail issue [...]

The post Little things go a long way appeared first on Graphically Speaking.

27
Nov

Customizing cap widths

The SG procedures and GTL statements do a lot of work for us to display the data using the specified statements.  This includes setting many details such as arrow heads, line patterns etc, including caps.  Often, such details have a fixed design according to what seems reasonable for most use [...]

The post Customizing cap widths appeared first on Graphically Speaking.

14
Nov

Spark table

In the previous post, I discussed creating a 2D grid of spark lines by Year and Claim Type.  This graph was presented in the SESUG conference held last week on SAS campus in the paper ""Methods for creating Sparklines using SAS" by Rick Andrews.  This grid of sparklines was actually the [...]

The post Spark table appeared first on Graphically Speaking.

10
Nov

Simple Proc Print trick for grouped data

Here's a Proc Print trick for grouped data. Suppose your data is divided into groups, such as males and females. You could sort by the grouping variable before printing, like this: Suppose you want to better emphasize the groups. You could add a BY statement, like this: OK, but, personally, [...]

The post Simple Proc Print trick for grouped data appeared first on SAS Learning Post.

10
Nov

Spark grid

The 25th annual SESUG conference was held at in the SAS campus this week.  I had the opportunity to meet and chat with many users and attend many excellent presentations.  I will write about those that stood out (graphically) in my view. One excellent presentation was on "Methods for creating [...]

The post Spark grid appeared first on Graphically Speaking.

8
Nov

Long category values

The South East SAS Users Group meeting wound up yesterday.  The 25th anniversary conference was held on SAS Campus and it provided a great opportunity to meet with many enthusiastic SAS users and attend many informative presentations.  More on this in a follow-up article. During one of these presentations, Mary [...]

The post Long category values appeared first on Graphically Speaking.

1
Nov

Legend order redux

Once in a while you run into a pesky situation that is hard to overcome without resorting to major surgery.  Such a situation occurs when you have a stacked bar chart with a discrete legend positioned vertically on the side of the graph.  A simple example is shown below. title [...]

The post Legend order redux appeared first on Graphically Speaking.

30
Oct

Fill patterns

When a plot is classified by one or more variables, the different classes values are displayed in the graph either by position or by using different plot attributes such as color, marker shape or line pattern.  For plots that display the visual by a filled area (bar, bin, band, bubble, [...]

The post Fill patterns appeared first on Graphically Speaking.

27
Oct

Legend items

Plot statements included in the graph definition can contribute to the legend(s).  This can happen automatically, or can be customized using the KEYLEGEND statement.  For plot statements that are classified by a group variable, all of the unique group values are displayed in the legend, along with their graphical representation [...]

The post Legend items appeared first on Graphically Speaking.

25
Oct

Finding your Dream Car with a little macro magic

Suppose you want a list of car manufacturers from the CARS dataset. Easy!  Call the %CHARLIST macro from a %PUT statement, like this: The CHARLIST macro generates a list of unique values of a selected variable from a selected dataset. So does PROC FREQ. But, if you don't need statistics, the CHARLIST [...]

The post Finding your Dream Car with a little macro magic appeared first on SAS Learning Post.

Back to Top