inset: Add an inset plot

View source: R/layout.R

insetR Documentation

Add an inset plot

Description

Add an inset plot

Usage

inset(spec, inset, position = "top-right")

Arguments

spec

The main glyph_spec

inset

A glyph_spec to place as an inset

position

Where to place: "top-right", "top-left", "bottom-right", "bottom-left", or a list(x, y, width, height) with proportions 0-1

Value

Modified glyph_spec


glyph documentation built on Oct. 21, 2026, 5:12 p.m.