Ploticus data display engine Copyright Steve Grubb
Ploticus Gallery - Rangebars
This page contains a series of rangebar examples
illustrating the available varieties and options.
These examples all use ploticus's
proc rangebar.
Example 1
rangebar1
Simple example.
proc rangebar is invoked once for every bar that is to be displayed.
The percentiles and medians are calcuated and displayed, and the "N=" summary
is automatically provided.
Example 2
rangebar2
These boxplots follow the Tukey specifications for outlier display.
Example 3
ranges
Another example, where pairs of rangebars are done. The pairs are
positioned using category scaling, with proc catslide providing
a small offset for each bar within a pair.
Example 3a
mouse
In this example, proc rangebar computes means and standard deviations.
The data set includes dozens of cases, and for each case there are
perhaps twenty rows of data. Proc processdata is used to step through
the data set. A plot is generated for each sex of each mouse strain;
proc catslide is used to slightly offset the red bars leftward, and blue bars rightward.
Example 4
timely
This is an example of horizontal rangebars. These work nicely
for displays looking at time intervals. In this example
categories are used for the centers, and a #loop structure
is used to display a bar for each center.
Example 5
errbar3
Proc rangebar may also be used to calculate mean and
standard deviation, and render error bars.
Example 6
errbar4
An example of horizontal error bars.
Example 7
rangebar3
Here, outliers are displayed using line segments rather than symbols.
Example 8
distrib
Distribution of scores example.