Skip to content
Snippets Groups Projects
Commit 1068bc5d authored by Vaarre-Lamoureux, Kaysa S's avatar Vaarre-Lamoureux, Kaysa S
Browse files

center legend title

parent 2fcb60ff
No related branches found
No related tags found
1 merge request!90Add raster maps
......@@ -158,7 +158,8 @@ plot_raster <- function(in_raster, conus_sf, conus_inner, outfile_path,
panel.grid = element_blank(),
legend.background = element_blank(),
legend.direction = "horizontal",
legend.position = "bottom") +
legend.position = "bottom",
legend.title.align = 0.5) +
guides(fill = guide_colorbar(
title.position = "top",
title.theme = element_text(face = 'bold', family = font_legend, size = font_size),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment