ggpattern: 'ggplot2' Pattern Geoms (original) (raw)

Provides 'ggplot2' geoms filled with various patterns. Includes a patterned version of every 'ggplot2' geom that has a region that can be filled with a pattern. Provides a suite of 'ggplot2' aesthetics and scales for controlling pattern appearances. Supports over a dozen builtin patterns (every pattern implemented by 'gridpattern') as well as allowing custom user-defined patterns.

Version: 1.2.1
Imports: cli, ggplot2 (≥ 3.5.1), glue, grid, gridpattern (≥ 1.2.2), lifecycle, rlang (≥ 1.1.3), scales, vctrs
Suggests: ambient, dplyr, gganimate, knitr (≥ 1.47), magick, mapproj, maps, png, ragg (≥ 1.2.0), readr, rmarkdown (≥ 2.27), sf (≥ 0.7-3), svglite (≥ 2.1.3), testthat (≥ 2.1.0), vdiffr (≥ 1.0.6)
Published: 2025-08-27
DOI: 10.32614/CRAN.package.ggpattern
Author: Mike FC [aut], Trevor L. Davis ORCID iD [aut, cre], ggplot2 authors [aut]
Maintainer: Trevor L. Davis <trevor.l.davis at gmail.com>
BugReports: https://github.com/trevorld/ggpattern/issues
License: MIT + file
URL: https://github.com/trevorld/ggpattern,https://trevorldavis.com/R/ggpattern/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: ggpattern results

Documentation:

Reference manual: ggpattern.html , <ggpattern.pdf>
Vignettes: Developing Patterns (source, R code) Patterns 'gradient', 'ambient', 'plasma' - Parameters and Examples (source, R code) Patterns 'circle', 'pch', 'regular_polygon', 'rose' - Parameters and Examples (source, R code) Patterns 'stripe', 'wave', 'crosshatch', 'weave' - Parameters and Examples (source, R code)

Downloads:

Reverse dependencies:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=ggpatternto link to this page.