addTopMargPlot: add a marginal plot to the top of another plot

View source: R/ggMarginal_Hist2D.R

addTopMargPlotR Documentation

add a marginal plot to the top of another plot

Description

Function to add a marginal plot to the top of another plot.

Usage

addTopMargPlot(ggMargGrob, top, size)

Arguments

ggMargGrob

- plot grob to add marginal plot to

top

- marginal plot to add

size

- relative height of main plot to marginal plot

Details

Copied from ggExtra. Created by Dean Attali ("daattali@gmail.com").


wStockhausen/wtsPlots documentation built on July 19, 2023, 8:15 p.m.