Learn R Programming

pavo (version 2.9.0)

catplot: 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

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

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

Run the code above in your browser using DataLab