CTTKhexagon3D {colourvision}R Documentation

Chittka (1992) colour space for tetrachromatic animals.

Description

Plots a hexagonal trapezohedron representing Chittka (1992) colour space for tetrachromatic animals (Thery and Casas, 2002).

Usage

CTTKhexagon3D(x, y, z, s.col = "red", f.col = "black",
              vnames = c("E1","E2","E3","E4"), type = "p",
              radius = 0.01, add = F, xlab = "", ylab = "", zlab = "",
              box = F, axes = F, ylim = c(-1, 1), xlim = c(-1, 1),
              zlim = c(-1,1), aspect = T, vectors=F, ...)

Arguments

x

x coordinate of points to be plotted

y

y coordinate of points to be plotted

z

z coordinate of points to be plotted

s.col

Colour to be used for plotted items. See plot3d in the rgl package.

f.col

Colour of tetrahedron lines. See plot3d in rgl package.

vnames

Vector names.

type

see plot3d function in the rgl package.

radius

see plot3d function in the rgl package.

add

see plot3d function in the rgl package.

xlab

see plot3d function in the rgl package.

ylab

see plot3d function in the rgl package.

zlab

see plot3d function in the rgl package.

box

see plot3d function in the rgl package.

axes

see plot3d function in the rgl package.

ylim

see plot3d function in the rgl package.

xlim

see plot3d function in the rgl package.

zlim

see plot3d function in the rgl package.

aspect

see plot3d function in the rgl package.

vectors

Whether vectors representing direction of photoreceptor outputs should be plotted.

...

Other arguments passed to function plot3d in the rgl package.

Author(s)

Felipe M. Gawryszewski f.gawry@gmail.com

References

Chittka, L. 1992. The colour hexagon: a chromaticity diagram based on photoreceptor excitations as a generalized representation of colour opponency. J Comp Physiol A 170, 533-543.

Thery, M., and J. Casas. 2002. Predator and prey views of spider camouflage. Nature 415, 133-133.

See Also

CTTKmodel, CTTKhexagon


[Package colourvision version 2.0.4 Index]