outer.legend: Add a legend to the margins of a multiplot figure

Description Usage Arguments Note Examples

View source: R/gwscaR_plot.R

Description

Add a legend to the margins of a multiplot figure

Usage

1

Arguments

...

legend parameters

Note

Modified from https://stackoverflow.com/questions/3932038/plot-a-legend-outside-of-the-plotting-area-in-base-graphics

Examples

1
2
plot(rnorm(50), rnorm(50), col=c("steelblue", "indianred"), pch=c(15,19))
outer.legend("top",legend=c("A","B"),pch=c(15,19),col=c("steelblue", "indianred"),ncol=2)

spflanagan/gwscaR documentation built on Nov. 14, 2019, 9:16 p.m.