prGridPlotTitle: Adds a title to the plot

View source: R/private_functions.R

prGridPlotTitleR Documentation

Adds a title to the plot

Description

Adds the title and generates a new main viewport below the title

Usage

prGridPlotTitle(
  title,
  base_cex,
  cex_mult = 1.2,
  fontface = "bold",
  space_below = NULL
)

Arguments

title

The title as accepted by textGrob

base_cex

The base cex used for the plot

cex_mult

The multiplier of the base - i.e. the increase of the text size for the title as compared to the general

fontface

The type of fontface

space_below

The space below, defaults to 1/5 of the title height

Value

NULL The function does not return a value


Gmisc documentation built on Aug. 26, 2023, 1:07 a.m.