Skip to content

Commit 49b6431

Browse files
committed
use default background color for spatstat plots
1 parent 75cf9f1 commit 49b6431

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

R/spatstat_helpers.R

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,12 @@
9494
#' X <- create_fia_ppp(plantation)
9595
#' summary(X)
9696
#'
97-
#' plot(X, pch = 16, background = "#fdf6e3", main = "Loblolly pine plantation")
97+
#' plot(X, pch = 16, main = "Loblolly pine plantation")
9898
#'
9999
#' # plot trees as trees :)
100100
#' X <- create_fia_ppp(plantation, mark_cols = "SPCD")
101-
#' plot(X, main = "Loblolly pine plantation",
102-
#' shape = "arrows", direction = 90, size = 12, cols = "darkgreen",
103-
#' background = "#fdf6e3", legend = FALSE)
101+
#' plot(X, shape = "arrows", direction = 90, size = 12, cols = "darkgreen",
102+
#' legend = FALSE, main = "Loblolly pine plantation")
104103
#'
105104
#' # Ripley's K-function
106105
#' K <- spatstat.explore::Kest(X, rmax = 12, correction = "isotropic")

man/spatstat_helpers.Rd

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)