plotAnywhere {easylegend}R Documentation

Plot (a legend) anywhere in the figure (margins included)

Description

Plot (a legend) anywhere in the figure (margins included). Creates a temporary figure-overlay with extra small margins (see mar) and with figure extent of 0 to 1 in the x and y axis, so that some plot (a legend) can be overlain on top of an existing figure.

Usage

plotAnywhere(expr = NULL, mar = rep(0.1, 4), .clip = TRUE, ...)

Arguments

expr

An expression, presumably some plot-overlay.

mar

See par.

.clip

Single logical value. If TRUE (default), the clippping region is preserved too.

...

Additional parameters passed to par.

Value

Invisibly returns the original par settings


[Package easylegend version 1.2.4 Index]