Learn R Programming

cowplot (version 0.5.0)

draw_grob: Draw a grob.

Description

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.

Usage

draw_grob(grob, x = 0, y = 0, width = 1, height = 1)

Arguments

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.