Learn R Programming

pavo (version 1.0.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, lab.cex = 0.9, ...)

Arguments

catdata
(required) a data frame, possibly a result from the categorical function, containing values for 'x' and 'y' coordinates as columns (labeled as such).
labels
plot category labels inside? Defaults to TRUE.
lab.cex
character expansion factor for category labels when labels = TRUE).
...
additional graphical options. See par.

References

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

Examples

Run this code
## Not run: 
# data(flowers)
# vis.flowers <- vismodel(flowers, qcatch = 'Qi', visual = 'musca', achro = 'none', relative = TRUE)
# cat.flowers <- colspace(vis.flowers, space = 'categorical')
# plot(cat.flowers)
# ## End(Not run)

Run the code above in your browser using DataLab