Creates a chunk for a plot with a given figure height and width.

Usage

dynamic_chunk(p, width, height, name = NULL, extras = NULL)

Arguments

p
the plot to insert into the chunk
width
the width of the device
height
the height of the device
name
the name of the chunk
extras
a string to add to the end of the chunk definition, for kicks

Description

Creates a chunk for a plot with a given figure height and width.