Skip to content

Commit d368750

Browse files
committed
adjust point pattern background color
1 parent 7949672 commit d368750

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

R/spatstat_helpers.R

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

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Helper functions are provided to facilitate analyzing FIA tree lists as Spatial
8484
X <- create_fia_ppp(plantation)
8585
summary(X)
8686
87-
plot(X, pch = 16, background = "gray90", main = "Loblolly pine plantation")
87+
plot(X, pch = 16, background = "#EEE9DF", main = "Loblolly pine plantation")
8888
8989
# compute Ripley's K-function applying isotropic edge correction
9090
K <- spatstat.explore::Kest(X, rmax = 12, correction = "isotropic")

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ summary(X)
164164
#> Unit of length: 1 foot
165165
#> Fraction of frame area: 0.124
166166

167-
plot(X, pch = 16, background = "gray90", main = "Loblolly pine plantation")
167+
plot(X, pch = 16, background = "#EEE9DF", main = "Loblolly pine plantation")
168168
```
169169

170170
<img src="man/figures/README-spatstat-explore-1.png" alt="" width="70%" />
296 Bytes
Loading

man/spatstat_helpers.Rd

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

0 commit comments

Comments
 (0)