Render a plot to the canvas
canvas_plot(canvas, plot, width, height, x = 0, y = 0, anchor = "nw")
a tic_ui
'canvas' element.
object to be plotted. Anything support by ggplot2::ggsave()
size of plot in pizels
coorindates for image. default (0, 0)
anchor point within image for positioning. default: nw Possible values: n, s, e, w, ne, nw, se, sw, center
Other canvas:
canvas_arc()
,
canvas_clear()
,
canvas_image()
,
canvas_line()
,
canvas_oval()
,
canvas_polygon()
,
canvas_rect()
,
canvas_save()
,
canvas_text()
,
tic_canvas()