*! version 1.0.0 21MAR2016

A command to preview one or more brewscheme color palettes

help for brewviewer

brewviewer -- A utility for brewscheme to preview color palettes available.

Syntax

brewviewer palette names [, colors(numlist)
combine seq impaired ]

Description

brewviewer is a utility for the brewscheme program that
provides you with a way to preview different combinations of palettes and numbers of
colors.

Options

colors is a required argument and is used to specify the number
of colors to preview. If a single argument is passed it is used for all palettes.
If the number of color values passed is the same as the number of palettes the
program will treat the values as being specific to the corresponding palette
specified. If there are fewer colors than palettes, the maximum value of the colors
parameter will be used for the graphs if the seq option is passed, else
the same colors are recycled for each of the graphs. Lastly, if the number of
colors passed is greater than the number of palettes, it will override the
seq option and treat each of the numbers as discrete for all palettes.

combine is an optional argument used to generate a single combined
graph with each of the graphs combined in a single image.

seq is an optional argument used to tell the program that you
want to treat the number of colors as the maximum number of sequences to graph.
For example, if a value of 5 is passed to colors and seq is selected,
the resulting graph will contain columns showing colors 1-3, 1-4, and 1-5. If this
option is not selected, it will only show a single column of colors from 1-5.

impaired is an optional argument to display the palette(s) along with
color sight impaired transformations of the colors.

Examples

See the GitHub Repository for
brewscheme for examples of this program.

Acknowledgements

This subroutine for brewscheme was inspired and influenced by Mattieu Gomez's program stata-colorscheme.

Author

William R. Buchanan, Ph.D.

Data Scientist

Minneapolis Public Schools

William.Buchanan at mpls [dot] k12 [dot] mn [dot] us