From 36db3660ab0f359d21e5a1e11866c55b8367ddc3 Mon Sep 17 00:00:00 2001 From: Kaysa Vaarre-Lamoureux <kvaarre-lamoureux@usgs.gov> Date: Mon, 7 Oct 2024 09:21:31 -0400 Subject: [PATCH] add year to population density map --- 3_visualize/src/plot_utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3_visualize/src/plot_utils.R b/3_visualize/src/plot_utils.R index 626d1aa..e534ea1 100644 --- a/3_visualize/src/plot_utils.R +++ b/3_visualize/src/plot_utils.R @@ -129,7 +129,7 @@ plot_raster <- function(in_raster, conus_sf, conus_inner, outfile_path, showtext_auto(enable = TRUE) # doesn't work with cowplot::get_plot_component() - legend_label <- expression(bold("Population per 1 km"^2)) #bquote('Population per 1'~km^2) + legend_label <- expression(paste(bold("Population per 1 "), bold(km^2), bold(", 2020"))) (pop_map <- ggplot() + #geom_spatraster(data = pop_usa_proj)+ -- GitLab