segplot | R Documentation |
Produces a plot based on Endler's (1990) segment analysis.
segplot(
segdata,
labels = TRUE,
lab.cex = 0.9,
out.lwd = 1,
out.lty = 1,
out.lcol = "black",
tick.loc = c(-1, -0.5, 0.5, 1),
square = TRUE,
...
)
segdata |
(required) a data frame, possibly a result from the
|
labels |
logical. Should the name of each cone be printed next to the corresponding vertex? |
tick.loc |
a numeric vector specifying the location of tick marks on x & y axes. |
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
Endler, J. A. (1990) On the measurement and classification of colour in studies of animal colour patterns. Biological Journal of the Linnean Society, 41, 315-352.
data(flowers)
vis.flowers <- vismodel(flowers, visual = "segment", achromatic = "all")
seg.flowers <- colspace(vis.flowers, space = "segment")
plot(seg.flowers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.