legendWindow: Creates a legend on a window of its own.

Description Usage Arguments See Also Examples

View source: R/graphutils.R

Description

Simply a wrapper around legend to create a window that contains only the legend.

Usage

1

Arguments

...

Parameters that will be passed on to legend.

See Also

legend

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
lay <- getArrayLayout(6, 2, 2)
arrayLayout(1, lay)
plot(1:10)
plot(1:10)
plot(1:10)
plot(1:10)
legendWindow("center", legend="Points", pch=1)
arrayLayout(2, lay)
plot(1:10)
plot(1:10)
legendWindow("center", legend="Points", pch=1)

tunelipt/wutils documentation built on Nov. 5, 2019, 11:01 a.m.