catplot: Plot the categorical colour vision model

Description Usage Arguments Author(s) References Examples

View source: R/catplot.R

Description

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

Usage

1
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

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

Example output



pavo documentation built on Sept. 21, 2021, 5:08 p.m.