print.gg: Print method for ggplot objects with vbracket legend

View source: R/print_method.R

print.ggR Documentation

Print method for ggplot objects with vbracket legend

Description

This overrides the default ggplot print method to add brackets automatically

Usage

## S3 method for class 'gg'
print(x, newpage = is.null(vp), vp = NULL, ...)

Arguments

x

A ggplot object

newpage

Draw on new page (default TRUE)

vp

Viewport to draw in

...

Additional arguments

Value

Invisibly returns the input ggplot object (classes "gg" and "ggplot"). Called for its side effects: rendering the plot to the current graphics device with the vbracket legend overlay if present.


vbracket documentation built on Jan. 7, 2026, 9:06 a.m.

Related to print.gg in vbracket...