element_render: Render a specified theme element into a grob

Description Usage Arguments

View source: R/theme-elements.r

Description

Given a theme object and element name, returns a grob for the element. Uses element_grob() to generate the grob.

Usage

1

Arguments

theme

The theme object

element

The element name given as character vector

...

Other arguments provided to element_grob()

name

Character vector added to the name of the grob


ggplot2 documentation built on June 25, 2021, 5:06 p.m.