help sdindexplot

Title

sdindexplot -- Graph sequences

Syntax

sdindexplot varlist (min=2) [if] [in] , options [options]

options

Optional
by(string) Graph by varlist, allows options.

* Accepts many graph options.

Description

sdindexplot takes a set of sequences described by varlist in
wide format and graphs them, with one row per sequence. This is often called an indexplot.

The state variable must be enumerated from 1 upwards. Cases with
missing values on any of the state or by variables are dropped.

sdindexplot is built on Ben Jann's heatplot. You can install this by
ssc install heatplot. The command thus has access to the power of heatplot and the related packages palettes and colrspace.

Author

Brendan Halpin, brendan.halpin@ul.ie

Examples

. sdindexplot state1-state72, by(sex, legend(off))

. sdindexplot state1-state72, by(sex) color(tableau)