fixedcolimage: Categorical map drawing tool with set colour scheme
A tool for drawing categorical data (matrices) in their proper orientation and with a set colour palette. This is especially useful for drawing multiple images that requrie identical palettes even though some classes may not exist on all images.
fixedcolimage(BE = checker(8))
Matrix: this is the input image that may or may not have an attribute cim that contains the title text.
The result is a graphic with specified colour palette. The original palette along with the used colours are listed in the command window for reference.
The palette is currently fixed for 21 colours. If more categorical colours are desired, the source code will need to be modified by the addition of more colours.
test <- checker(8)
attr(test, "cim") <- "Checker 8"