cocplot | R Documentation |
Produces a plot based on the colour opponent coding diagram of Backhaus (1991).
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,
...
)
cocdata |
(required) a data frame, possibly a result from the
|
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 |
achrosize |
size of the point at the origin when |
achrocol |
color of the point at the origin |
square |
logical. Should the aspect ratio of the plot be held to 1:1?
(defaults to |
... |
additional graphical options. See |
Thomas White thomas.white026@gmail.com
Backhaus W. (1991). Color opponent coding in the visual system of the honeybee. Vision Research, 31, 1381-1397.
data(flowers)
vis.flowers <- vismodel(flowers, visual = "apis", qcatch = "Ei", relative = FALSE, vonkries = TRUE)
coc.flowers <- colspace(vis.flowers, space = "coc")
plot(coc.flowers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.