View source: R/ggMarginal_Hist2D.R
addTopMargPlot | R Documentation |
Function to add a marginal plot to the top of another plot.
addTopMargPlot(ggMargGrob, top, size)
ggMargGrob |
- plot grob to add marginal plot to |
top |
- marginal plot to add |
size |
- relative height of main plot to marginal plot |
Copied from ggExtra
. Created by Dean Attali ("daattali@gmail.com").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.