Produces a plot based on the colour opponent coding diagram of Backhaus (1991).
Usage
cocplot(
cocdata,
labels = TRUE,
labels.cex = 0.9,
tick.loc = c(-12, -9, -6, -3, 3, 6, 9, 12),
achro = FALSE,
achrosize = 0.8,
achrocol = "grey",
square = TRUE,
...
)
Arguments
- cocdata
(required) a data frame, possibly a result from the
colspace()
orcategorical()
function, containing values for 'x' and 'y' coordinates as columns (labeled as such).- labels
logical. Should the name of each cone be printed next to the corresponding vertex?
- labels.cex
size of the arrow labels.
- tick.loc
a numeric vector specifying the location of tick marks on x & y axes.
- achro
should a point be plotted at the origin (defaults to
TRUE
)?- achrosize
size of the point at the origin when
achro = TRUE
(defaults to0.8
).- achrocol
color of the point at the origin
achro = TRUE
(defaults to'grey'
).- square
logical. Should the aspect ratio of the plot be held to 1:1? (defaults to
TRUE
).- ...
additional graphical options. See
par()
.
References
Backhaus W. (1991). Color opponent coding in the visual system of the honeybee. Vision Research, 31, 1381-1397.
Author
Thomas White thomas.white026@gmail.com