stack | R Documentation |
Plots all the outlines, on the same graph, from a Coo (Out, Opn or Ldk) object.
## S3 method for class 'Coo'
stack(
x,
cols,
borders,
fac,
palette = col_summer,
coo_sample = 120,
points = FALSE,
first.point = TRUE,
centroid = TRUE,
ldk = TRUE,
ldk_pch = 3,
ldk_col = "#FF000055",
ldk_cex = 0.5,
ldk_links = FALSE,
ldk_confell = FALSE,
ldk_contour = FALSE,
ldk_chull = FALSE,
ldk_labels = FALSE,
xy.axis = TRUE,
title = substitute(x),
...
)
## S3 method for class 'Ldk'
stack(
x,
cols,
borders,
first.point = TRUE,
centroid = TRUE,
ldk = TRUE,
ldk_pch = 20,
ldk_col = col_alpha("#000000", 0.5),
ldk_cex = 0.3,
meanshape = FALSE,
meanshape_col = "#FF0000",
ldk_links = FALSE,
ldk_confell = FALSE,
ldk_contour = FALSE,
ldk_chull = FALSE,
ldk_labels = FALSE,
slidings = TRUE,
slidings_pch = "",
xy.axis = TRUE,
title = substitute(x),
...
)
x |
The |
cols |
A |
borders |
A |
fac |
a factor within the $fac slot for colors |
palette |
a color palette to use when fac is provided |
coo_sample |
if not NULL the number of point per shape to display (to plot quickly) |
points |
|
first.point |
|
centroid |
|
ldk |
|
ldk_pch |
|
ldk_col |
color for these landmarks |
ldk_cex |
|
ldk_links |
|
ldk_confell |
|
ldk_contour |
|
ldk_chull |
|
ldk_labels |
|
xy.axis |
whether to draw or not the x and y axes |
title |
a title for the plot. The name of the |
... |
further arguments to be passed to coo_plot |
meanshape |
|
meanshape_col |
a color for everything meanshape |
slidings |
|
slidings_pch |
|
a plot
Other Coo_graphics:
inspect()
,
panel()
stack(bot)
bot.f <- efourier(bot, 12)
stack(bot.f)
stack(mosquito, borders='#1A1A1A22', first.point=FALSE)
stack(hearts)
stack(hearts, ldk=FALSE)
stack(hearts, borders='#1A1A1A22', ldk=TRUE, ldk_col=col_summer(4), ldk_pch=20)
stack(hearts, fac="aut", palette=col_sari)
chaffal <- fgProcrustes(chaff)
stack(chaffal, slidings=FALSE)
stack(chaffal, meanshape=TRUE, meanshape_col="blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.