brewextra
Command used to build data set containing additional color palettes used by brewscheme.
brewextra – A utility for brewscheme that allows users to add data to their local brewscheme database for use creating new scheme files.
Syntax
brewextra [, files(string) replace ]
Description
brewextra is used to build a look-up table of RGB values for palettes as part of the Color Brewer research. Additionally, the program also parses the available meta data on the “friendliness” properties of the various color palettes and includes an option to look up those meta data on the fly. Additionally, the program will automatically call the brewextra program to add the other available research-based color palettes to the file when constructed.
Options
files is an optional argument used to pass filenames to the program to be added to the local brewscheme data base. The program also includes some simple validation to hopefully prevent breaking the functionality of brewscheme
. Below is the file specification that should guide your construction of files to add to the brewscheme database.
variable | storage | display | value | variable |
name | type | format | label | label |
palette | str11 | %11s | Name of Color Palette | |
colorblind | byte | %10.0g | colorblind | Colorblind Indicator |
byte | %10.0g | Print Indicator | ||
photocopy | byte | %10.0g | photocopy | Photocopy Indicator |
lcd | byte | %10.0g | lcd | LCD/Laptop Indicator |
colorid | byte | %10.0g | Within pcolor ID for individual color look ups | |
pcolor | byte | %10.0g | Palette by Colors Selected ID | |
rgb | str11 | %11s | Red-Green-Blue Values to Build Scheme Files | |
maxcolors | byte | %10.0g | Maximum number of colors allowed for the palette | |
seqid | str13 | %13s | Sequential ID for property lookups | |
meta | str13 | %13s | Meta-Data Palette Characteristics |
replace is an optional argument used to rebuild and overwrite the brewextras.dta file containing the additional palettes used by brewscheme
.
Examples
Ex 1.
Rebuild the additional palettes included in brewscheme
brewextra, rep