Description Usage Arguments Details See Also
View source: R/rasterly_guides.R
Guides layer for "rasterly".
1 2 3 4 5 6 7 | rasterly_guides(
rastObj,
x_pretty = NULL,
y_pretty = NULL,
panel_background = "grey92",
panel_line = "white"
)
|
rastObj |
A "rasterly" object. |
x_pretty |
The pretty on x. Compute a sequence of about n+1 equally spaced 'round' values
which cover the range of the values in x. If it is not provided, |
y_pretty |
The pretty on y. |
panel_background |
Panel background. |
panel_line |
Panel line color |
When an image has a 'complicated' background, the drawing time increases significantly.
So it is not recommended. A suggestion to draw grid guides is to transform image data to a data frame
via image2data, then use ggplot
or plotly
to display.
ggRasterly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.