## Script examples gallery - Range bars

Version 2.32
Scripts

Manual page for Script_examples_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.

### See also the vdist prefab examples.

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

mouse
This example shows how proc rangebar can be used to compute the overall mean and standard deviation (the horizontal green lines), without actually drawing a rangebar. The bars are generated by proc bars.

### Example 5

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

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

### Example 7

errbar4
An example of horizontal error bars.

### Example 8

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

### Example 9

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

Markup created by unroff 1.0, `` `` August 23, 2005.