View source: R/CRdraw_points.R
CRdraw_points | R Documentation |
Draws multiple pixel-sized points in point_list to rendering target.
CRdraw_points(graphics_list, point_list, status = NULL)
graphics_list |
List containing pointers to window, renderer etc. created with |
point_list |
List defining multiple points, containing vector elements x and y. |
status |
Optional list |
CRset_render_color(gs, list(r = 0, g = 0, b = 0))
CRrender_clear(gs)
CRset_render_color(gs, list(r = 100, g = 0, b = 0))
points <- list(x = c(100, 50, 150), y = c(50, 100, 100))
CRdraw_points(gs, points)
CRrender_present(gs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.