## Gallery - Range bars

Welcome Gallery Handbook

Manual page for Gallery_-_Range_bars(PL)

This page contains a series of rangebar examples illustrating the available varieties and options. These examples all use ploticus's proc rangebar.

#
Example 1 - script

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 - script

rangebar2
These boxplots follow the Tukey specifications for outlier display.

#
Example 3 - script

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 4 - script

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 5 - script

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 6 - script

errbar3
Proc rangebar may also be used to calculate mean and standard deviation, and render error bars.

#
Example 7 - script

errbar4
An example of horizontal error bars.

#
Example 8 - script

rangebar3
Here, outliers are displayed using line segments rather than symbols.

#
Example 9 - script

distrib
Distribution of scores example.
data display engine
Copyright Steve Grubb

Markup created by unroff 1.0, `` `` September 14, 2001.