subview

Share:

Description

add subview to mainview for ggplot2 objects

Usage

1
subview(mainview, subview, x, y, width = 0.1, height = 0.1)

Arguments

mainview

main view

subview

a ggplot or grob object

x

x position

y

y position

width

width of subview, [0,1]

height

height of subview, [0,1]

Value

ggplot object

Author(s)

Guangchuang Yu

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.