Skip to content

Commit

Permalink
Add reset = FALSE into the plot call
Browse files Browse the repository at this point in the history
As reported in the docs, reset = FALSE is used to allow the inclusion of further map elements
  • Loading branch information
agila5 authored Jan 22, 2024
1 parent d7c0112 commit 3e65360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/graticule.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#' c( bb[3],bb[4]),c( bb[1],bb[4]),c( bb[1],bb[2])))
#'
#' g = st_graticule(usa)
#' plot(usa, xlim = 1.2 * c(-2450853.4, 2186391.9))
#' plot(usa, xlim = 1.2 * c(-2450853.4, 2186391.9), reset = FALSE)
#' plot(g[1], add = TRUE, col = 'grey')
#' plot(bbox, add = TRUE)
#' points(g$x_start, g$y_start, col = 'red')
Expand Down

0 comments on commit 3e65360

Please sign in to comment.