replot: Returns a base64-encoded, SVG or PNG plot.

Description Usage Arguments Value

Description

Returns a base64-encoded, SVG or PNG plot.

Usage

1
2
3
4
5
replot_as(pl, type, ...)

as_png(x, width = 1280, height = 720)

as_svg(x)

Arguments

pl

Plot recorded by grDevices::recordPlot().

type

Output format: "png" or "svg".

...

Passed to svg() or png().

x

rawplot object.

width

PNG width.

height

PNG height.

Value

character string, base64-encoded SVG or PNG plot.


lbartnik/repository documentation built on May 28, 2019, 9:50 a.m.