Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hlowman/except_heterotrophy
Browse files Browse the repository at this point in the history
  • Loading branch information
amcarter committed Aug 13, 2024
2 parents c64287b + 1106785 commit 0d985f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions R/plot_scripts/Fig_autotrophy_map_only.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
lapply(c("lubridate","cowplot",
"tidyverse", "reshape2",
"ggmap","maps","mapdata", "mapproj",
"ggsn", "sf", "ggspatial"), require, character.only=T)
"viridis", "sf", "ggspatial"), require, character.only=T)

## Import Data
GPP_info <- read_csv("data_working/across_sites_model_data.csv") %>%
Expand Down Expand Up @@ -98,12 +98,12 @@ my_breaks <- c(0.05, 0.15, 0.4, 1)
fill = "white", color = "black") + # map of states
geom_point(data = AI_sf, aes(x = lon, y = lat,
color = mean_PR_annual,
size = mean_GPP_annual),
alpha = 0.95) + # map of sites
size = mean_GPP_annual)) + # map of sites
labs(x = "Longitude", y = "Latitude") +
scale_color_gradientn("Mean Annual P:R",
colors = c("#F0C9C0", "#EDB48E",
"#E8C32E", "#E6E600", "#00A600"),
colors = c("#440154FF", "#482677FF",
"#404788FF", "#2D708EFF",
"#73D055FF", "#95D840FF"),
trans = "log",
breaks = my_breaks, labels = my_breaks) +
# based on terrain.colors(n = 10) # custom colors
Expand Down Expand Up @@ -154,7 +154,7 @@ my_breaks <- c(0.05, 0.15, 0.4, 1)

# export exploratory figures
# ggsave(sitemap,
# filename = "figures/Annual_GPP_PR_USmap_043024.png",
# filename = "figures/Annual_GPP_PR_USmap_071924.png",
# width = 22,
# height = 11,
# units = "cm"
Expand Down
Binary file added figures/Annual_GPP_PR_USmap_071924.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d985f9

Please sign in to comment.