ggpLayerRect | R Documentation |
Adds a rectangular to the plot.
ggpLayerRect(
object = "object",
xrange,
yrange,
alpha = 0,
color = "black",
size = 1,
expand = 0,
persp = "coords",
...
)
object |
An object of class |
xrange , yrange |
Vector of length two. Specifies the x- and y-range
of the rectangle. E.g. This argument works within the See details and examples of |
alpha , color , fill , size |
Given to |
expand |
Specifies image expansion. An image that is cropped based on an image
annotation centers around the image annotation. If |
... |
Additional arguments given to |
ggpLayer*()
-functions return lists of ggproto
objects
that can be added to ggplots via the +
operator. In most of the cases
they are supposed to be added to plots created with the plotSurface*()
family.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.