plot.image_shp | R Documentation |
plot
for image_shp
objectsDraws the bounding boxes for each object computed with image_shp()
.
## S3 method for class 'image_shp'
plot(
x,
img = NULL,
col_line = "black",
size_line = 2,
col_text = "black",
size_text = 0.75,
...
)
x |
An object computed with |
img |
The image that was used to compute the shapefile (optional) |
col_line, col_text |
The color of the line/text in the grid. Defaults to
|
size_line, size_text |
The size of the line/text in the grid. Defaults to
|
... |
Currently not used. |
A NULL
object
library(pliman)
flax <- image_pliman("flax_leaves.jpg")
shape <- image_shp(flax, nrow = 3, ncol = 5)
# grid on the existing image
plot(flax)
plot(shape)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.