ggpLayerFrameByCoords | R Documentation |
Sets the limits on the x- and y-axis of a surface plot based on the coordinate range of the objects observations or the image.
Soft deprecated in favor of the arguments xrange
and yrange
in plotSurface()
.
ggpLayerFrameByCoords(object = "object", ...)
ggpLayerFrameByImage(object = "object", ...)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
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.
library(SPATA2)
library(patchwork)
data("example_data")
object <- loadExampleObject("UKF275T")
plotImage(object) + plotSurface(object)
(plotImage(object) + ggpLayerFrameByCoords(object)) + plotSurface(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.