Translate a grob or viewport

igt_translate(
  obj,
  x = 0,
  y = 0,
  default.units = getOption("ingrid.default.units", "npc")
)

Arguments

obj

grob or viewport

x, y

translation

default.units

'npc'

See also

Other transformations: igt_rotate(), igt_update()