add_glyphs | R Documentation |
A glyph is a single character. A glyphs look is a glyph marker
for each specific x-y location of a shape. Not applicable for shapes of
type 'refline'
.
add_glyphs( pj, glyph = ".", size = 10, gc = "black", ga = 0.5, et = NA, ec = NA, ea = NA, shape = ".", name = "." )
pj |
an object of class |
glyph |
character vector of glyphs to mark x-y coordinates. Each glyph
must be a single character (which is interpreted literally). The only
exception is when |
size |
positive numeric vector giving glyph text size in points. |
gc |
|
ga |
|
et |
character vector indicating the type of enclosure with which to
surround symbols in |
ec |
|
ea |
|
shape |
character scalar indicating the type of shape to which the look will be applied. |
pj
with the addition of the glyph look applied to the
specified shape.
Glyphs can be validly
described using two patterns of argument properties as follows,
where base
indicates that the argument set {mark, size, lc,
la}
have all been supplied and enclosure
indicates that the
argument set {et, ec, ea}
have all been supplied.
base
The glyph in mark
is printed without any
enclosure
.
base + enclosure
The glyph in mark
is printed within
an enclosure
.
The arguments mark
, size
,
lc
, la
, lw
, et
, ec
, and/or ea
are
recycled with the number of x-y pairs used to draw the shape to which the
glyph look is applied
Other add_look:
add_ci()
,
add_ends()
,
add_fills()
,
add_labels()
,
add_lines()
,
add_marks()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.