get.legend.plotting.area: Get the legend plotting area.

Description Usage Arguments Details Value

View source: R/plotting.R

Description

Returns the legend plotting area rectangle in plotting coordinates (if any).

Usage

1
2
3
4
get.legend.plotting.area(
  plot.type = c("baseR", "SVG")[1],
  suppress.warnings = FALSE
)

Arguments

plot.type

Can be either "baseR" or "SVG" and specifies to which type of plotting the mapping applies.

suppress.warnings

Logical, if TRUE don't show any warnings.

Details

This is intended for advanced users only.

Value

A numeric vector with components x.min, x.max, y.min and y.max, or NULL in case of error or no legend being shown.


AdhereR documentation built on Sept. 18, 2021, 5:07 p.m.