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", margins = c(1, 1, 2, 2), square = TRUE, ...)

Arguments

cocdata (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). logical. Should the name of each cone be printed next to the corresponding vertex? size of the arrow labels. a numeric vector specifying the location of tick marks on x & y axes. should a point be plotted at the origin (defaults to TRUE)? size of the point at the origin when achro = TRUE (defaults to 0.8). color of the point at the origin achro = TRUE (defaults to 'grey'). margins for the plot. 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.

Examples

data(flowers)
vis.flowers <- vismodel(flowers, visual = "apis", qcatch = "Ei", relative = FALSE, vonkries = TRUE)
coc.flowers <- colspace(vis.flowers, space = "coc")
plot(coc.flowers)