catplot: Plot the categorical colour vision model

View source: R/catplot.R

catplotR Documentation

Plot the categorical colour vision model

Description

Produces a plot based on Troje's (1993) categorical colour model.

Usage

catplot(catdata, labels = TRUE, labels.cex = 0.9, ...)

Arguments

catdata

(required) a data frame, possibly a result from the colspace() or categorical() function, containing values for 'x' and 'y' coordinates as columns (labeled as such).

labels

plot category labels inside? Defaults to TRUE.

labels.cex

size of the arrow labels.

...

additional graphical options. See par().

Author(s)

Thomas White thomas.white026@gmail.com

References

Troje N. (1993). Spectral categories in the learning behaviour of blowflies. Zeitschrift fur Naturforschung C, 48, 96-96.

Examples

data(flowers)
vis.flowers <- vismodel(flowers, qcatch = "Qi", visual = "musca", achro = "none", relative = TRUE)
cat.flowers <- colspace(vis.flowers, space = "categorical")
plot(cat.flowers)

pavo documentation built on Sept. 24, 2023, 5:06 p.m.