smallPlot: Inset small plot within figure

View source: R/deprecated.R

smallPlotR Documentation

Inset small plot within figure

Description

Inset plot with margins, background and border (based on: https://github.com/cran/berryFunctions/blob/master/R/smallPlot.R)

Usage

smallPlot(
  expr,
  x = c(5, 70),
  y = c(50, 100),
  x1,
  y1,
  x2,
  y2,
  mar = c(12, 14, 3, 3),
  mgp = c(1.8, 0.8, 0),
  bg = par("bg"),
  border = par("fg"),
  las = 1,
  resetfocus = TRUE,
  ...
)

Value

parameters of small plot, invisible.


James-Thorson/FishStatsUtils documentation built on Feb. 6, 2024, 4:26 a.m.