CRdraw_point | R Documentation |
Draws a single point of pixel size to rendering target.
CRdraw_point(graphics_list, point_list, status = NULL)
graphics_list |
List containing pointers to window, renderer etc. created with |
point_list |
List defining single point, containing 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))
point <- list(x = 50, y = 50)
CRdraw_point(gs, point)
CRrender_present(gs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.