Learn R Programming

gggenomes (version 1.2.0)

draw_scalebar_grob: Draw a complete scalebar grob

Description

x0/x1/y are panel-relative coordinates in npc units.

Usage

draw_scalebar_grob(
  x0,
  x1,
  y,
  label = NULL,
  line,
  text,
  tick_height,
  label_offset,
  label_position = c("above", "below"),
  draw_ticks = TRUE,
  draw_label = TRUE
)

Arguments