theme_canvas {aRtsy} | R Documentation |
Canvas Theme for ggplot2 Objects
Description
Add a canvas theme to the plot. The canvas theme by default has no margins and fills any empty canvas with a background color.
Usage
theme_canvas(x, background = NULL, margin = 0)
Arguments
x |
a ggplot2 object. |
background |
a character specifying the color used for the empty canvas. |
margin |
margins of the canvas. |
Value
A ggplot
object containing the artwork.
Author(s)
Koen Derks, koen-derks@hotmail.com
[Package aRtsy version 0.2.4 Index]