rasterly_guides: rasterly_guides

Description Usage Arguments Details See Also

View source: R/rasterly_guides.R

Description

Guides layer for "rasterly".

Usage

1
2
3
4
5
6
7
rasterly_guides(
  rastObj,
  x_pretty = NULL,
  y_pretty = NULL,
  panel_background = "grey92",
  panel_line = "white"
)

Arguments

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, x_pretty will be generated by the x range

y_pretty

The pretty on y.

panel_background

Panel background.

panel_line

Panel line color

Details

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.

See Also

ggRasterly


rasterly documentation built on July 2, 2020, 2:12 a.m.