# rplot_impl.md

Object managing plots produced by R. Is a `setting_user`.

## get

    some_rplot get ratio

Render and emit the SVG associated with the current settings of the plot `some_rplot` with a floating-point aspect ratio `ratio`.

## available_plots

    some_rplot available_plots

List the currently valid arguments for `set_type`.

## copy

    some_rplot copy imposter

Create a new rplot `imposter` and copy all settings from `some_rplot` to `imposter`

## set_type

    some_rplot set_type script.R

Set the R script that will be used to render `some_rplot` to be `script.R`.

## get_type_icon

    some_rplot get_type_icon script.R

Emit the SVG for a representation of the type of plot produced by `script.R`.

## lsave_as

    some_rplot lsave_as file...

Render and write to the file `file` the SVG associated with the current settings of the plot `some_rplot`.

## get_setting_levels

    some_rplot get_setting_levels name

If an available setting `name` of the plot `some_rplot` has a limited range of values that are meaningful, emit a list of those values.