add_plot {plotscaper}R Documentation

Add a plot to a scene or schema

Description

This function adds a plot to an existing plotscaper scene or schema. Not meant to be called directly but instead with a wrapper function such as add_scatterplot().

Usage

add_plot(x, spec)

Arguments

x

A plotscaper scene or schema

spec

A list with the plot specification

Value

The scene or schema back


[Package plotscaper version 0.2.6 Index]