get.legend.plotting.area {AdhereR}R Documentation

Get the legend plotting area.

Description

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

Usage

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.


[Package AdhereR version 0.7.0 Index]