Learn R Programming

ggplot2 (version 4.0.1)

gg_par: Interpreter for graphical parameters

Description

This is a wrapper for grid::gpar() that applies ggplot2's interpretation of graphical parameters.

Usage

gg_par(..., stroke = NULL, pointsize = NULL)

Value

An object of class 'gpar'.

Arguments

...

Named arguments passed on to gpar().

stroke

Linewidth for points. Populates the lwd grid parameter.

pointsize

Size for points. Populates the fontsize grid parameter.