mlegend: Add legend to 'mplot3' plot

View source: R/mlegend.R

mlegendR Documentation

Add legend to mplot3 plot

Description

Add legend to mplot3 plot

Usage

mlegend(
  lims,
  title = NULL,
  group.names,
  title.col = "black",
  col = rtpalette("rtCol1"),
  horiz.pad = 0.04,
  footer = NULL,
  font = 1,
  font.family = "Helvetica Neue"
)

Arguments

lims

List with plot limits in the form list(xlim = xlim, ylim = ylim) e.g. as returned by mplot3_xy

title

Character: Legend title

group.names

Character: group names

title.col

Title color

col

Color vector

horiz.pad

Numeric: Proportion of plot width to pad by

footer

Character: Footer annotation

font

1 or 2 for regular and bold

font.family

Character: Font family to use

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on May 4, 2024, 7:40 p.m.