| l_glyph_add_pointrange | R Documentation |
Pointrange glyphs show a filled circle at the x-y location and also a y-range.
l_glyph_add_pointrange(
widget,
ymin,
ymax,
linewidth = 1,
showArea = TRUE,
label = "",
...
)
widget |
widget path as a string or as an object handle |
ymin |
vector with lower y-yalue of the point range. |
ymax |
vector with upper y-yalue of the point range. |
linewidth |
line with in pixel. |
showArea |
boolean, show a filled point or just the outline point |
label |
label of a glyph (currently shown only in the glyph inspector) |
... |
state arguments |
l_glyph_add
Other glyph functions:
l_glyph_add.default(),
l_glyph_add_image(),
l_glyph_add_polygon(),
l_glyph_add_serialaxes(),
l_glyph_add_text(),
l_glyph_add(),
l_glyph_delete(),
l_glyph_getLabel(),
l_glyph_getType(),
l_glyph_ids(),
l_glyph_relabel(),
l_primitiveGlyphs()
if(interactive()){
p <- l_plot(x = 1:3, color = c('red', 'blue', 'green'), showScales=TRUE)
g <- l_glyph_add_pointrange(p, ymin=(1:3)-(1:3)/5, ymax=(1:3)+(1:3)/5)
p['glyph'] <- g
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.