Plots a colour space for dichromatic Endler and Mielke (2005) colour vision model.
EMline(x,y=rep(0, length(x)), type="length",
vnames=c("E1","E2"),
ylim="auto", xlim="auto",
ann=FALSE, axes = FALSE, ...)
x-coordinate
y-coordinate
Whether the colour space should be built with a fixed vector length, or a fixed edge length (distance between vertices).
Vector names
see plot
function.
see plot
function.
see par
function.
see plot.default
function.
Other arguments passed to plot
.
Felipe M. Gawryszewski f.gawry@gmail.com
The original model is available for tetrachromatic animals only. Colour space is built either with a vector length = 0.75 or a edge length = sqrt(3/2), to match the tetrahedron proposed by Endler and Mielke (2005).
Endler, J. A., and P. Mielke. 2005. Comparing entire colour patterns as birds see them. Biol J Linn Soc 86:405-431.
EMtriangle
, EMtetrahedron
, EMmodel
EMline(x=0.1, pch=16, col="red")
Run the code above in your browser using DataLab