Skip to contents

A minimalist theme for maps and scientific plots: gridlines removed, axis formatting simplified, and clean bold titles. Applied by plot_raster() and plot_hist(), and exported so other figures in a project can share the same look.

Usage

theme_science_map()

Value

A ggplot2 theme object, added to a plot with +.

See also

plot_raster() and plot_hist(), which apply this theme by default.

Examples

if (FALSE) { # \dontrun{
library(ggplot2)
p <- ggplot(mtcars, aes(x = wt, y = mpg)) +
  geom_point() +
  labs(title = "Example Plot", x = "Weight", y = "mpg") +
  theme_science_map()
print(p)
} # }