places a plot that has been previously created but not drawn

bb_pagePlacePlot(
  plot,
  params = NULL,
  x = NULL,
  y = NULL,
  width = NULL,
  height = NULL,
  just = c("left", "top"),
  default.units = "inches",
  draw = T
)

Arguments

plot

plot to be placed

params

an optional "bb_params" object space containing relevant function parameters

x

A numeric or unit object specifying x-location.

y

A numeric or unit object specifying y-location.

width

A numeric or unit object specifying width.

height

A numeric or unit object specifying height.

just

A string or numeric vector specifying the justification of the plot relative to its (x, y) location

default.units

A string indicating the default units to use if x, y, width, or height are only given as numeric vectors

draw

A logical value indicating whether graphics output should be produced

Value

Function will update dimensions of an input plot and return an updated BentoBox plot object