View source: R/plot_multidim_layers.R
background.plot | R Documentation |
This function creates a ggplot object with customized axes range (same for both), names and background
background.plot(range_faxes, faxes_nm, color_bg)
range_faxes |
a vector with minimum and maximum values of axes. Note
that to have a fair representation of position of species in all plots,
they should have the same range. Default: |
faxes_nm |
a vector with axes labels for figure. |
color_bg |
a R color name or an hexadecimal code used to fill plot
background. Default: |
A ggplot object plotting background of multidimensional graphs.
Camille Magneville and Sebastien Villeger
background <- background.plot(range_faxes = c(-1, 2),
faxes_nm = c("PC 1", "PC 2"),
color_bg = "grey90")
background
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.