EMline {colourvision} | R Documentation |
Endler and Mielke (2005) 1-D colour space
Description
Plots a colour space for dichromatic Endler and Mielke (2005) colour vision model.
Usage
EMline(x,y=rep(0, length(x)), type="length",
vnames=c("E1","E2"),
ylim="auto", xlim="auto",
ann=FALSE, axes = FALSE, ...)
Arguments
x |
x-coordinate |
y |
y-coordinate |
type |
Whether the colour space should be built with a fixed vector length, or a fixed edge length (distance between vertices). |
vnames |
Vector names |
ylim |
see |
xlim |
see |
ann |
see |
axes |
see |
... |
Other arguments passed to |
Details
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).
Author(s)
Felipe M. Gawryszewski f.gawry@gmail.com
References
Endler, J. A., and P. Mielke. 2005. Comparing entire colour patterns as birds see them. Biol J Linn Soc 86:405-431.
See Also
EMtriangle
, EMtetrahedron
, EMmodel
Examples
EMline(x=0.1, pch=16, col="red")