powered by
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 path as a string or as an object handle
vector with lower y-yalue of the point range.
vector with upper y-yalue of the point range.
line with in pixel.
boolean, show a filled point or just the outline point
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()
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 }
Run the code above in your browser using DataLab