grid.glyph {grid} | R Documentation |
Draw Typeset Glyphs
Description
These functions create and draw a set of typeset glyphs.
Usage
grid.glyph(...)
glyphGrob(glyphInfo,
x=.5, y=.5, default.units="npc",
hjust="centre", vjust="centre",
gp=gpar(), vp=NULL, name=NULL)
Arguments
glyphInfo |
An |
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 |
hjust , vjust |
The justification of the glyphs
relative to the ( |
name |
A character identifier. |
gp |
An object of class |
vp |
A Grid viewport object (or NULL). |
... |
Arguments passed to |
Details
Both functions create a glyph grob (a graphical object describing
glyphs), but only grid.glyph
draws the glyphs.
Value
A glyph grob.
Author(s)
Paul Murrell