Description Usage Arguments Value Author(s) See Also Examples
These functions create a NULL graphical object, which has zero width, zero height, and draw nothing. It can be used as a place-holder or as an invisible reference point for other drawing.
1 2 3 4 |
x |
A numeric vector or unit object specifying x-location. |
y |
A numeric vector or unit object specifying y-location. |
default.units |
A string indicating the default units to use
if |
name |
A character identifier. |
vp |
A Grid viewport object (or NULL). |
... |
Arguments passed to |
A null grob.
Paul Murrell
Grid,
viewport
1 2 3 4 | grid.newpage()
grid.null(name="ref")
grid.rect(height=grobHeight("ref"))
grid.segments(0, 0, grobX("ref", 0), grobY("ref", 0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.