| draw_grob {cowplot} | R Documentation |
Places an arbitrary grob somewhere onto the drawing canvas. By default, coordinates run from 0 to 1, and the point (0, 0) is in the lower left corner of the canvas.
draw_grob(grob, x = 0, y = 0, width = 1, height = 1, scale = 1, clip = "inherit")
grob |
The grob to place. |
x |
The x location of the lower left corner of the grob. |
y |
The y location of the lower left corner of the grob. |
width |
Width of the grob. |
height |
Height of the grob. |
scale |
Scales the grob relative to the rectangle defined by |
clip |
Set to "on" to clip the grob or "inherit" to not clip. Note that clipping doesn't always work as expected, due to limitations of the grid graphics system. |