Skip to content

Commit

Permalink
updated final figures
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Zuckerman committed Mar 17, 2023
1 parent d41e62c commit 4108ee7
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 8 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ mapFigs
Final Submission/Final Figures
magnitude.jpeg
illustrator files
Final Submission/Final Submission 2/updated_figure_1.tif




Binary file modified Final Submission/.DS_Store
Binary file not shown.
Binary file added Final Submission/Final Submission 2/.DS_Store
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Final Submission/~$nuary resubmission.docx
Binary file not shown.
16 changes: 8 additions & 8 deletions plasticity2.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,17 @@ allIndYears <- rbind(allIndYears %>% filter(class == "R"), nonRes)
library(extrafont)
font_import()
loadfonts()
ggplot(allIndYears) + geom_point(aes(dists, absElev, color = class), alpha = .3) +
ylab("Abosulte elevation change (m)") + xlab("Geographic distance (m)") +
geom_text(x=25000, y=1100, label="EM (21.9%)", color = "#1b9e77", size = 9, family = "Century Gothic") +
geom_text(x=25000, y=400, label="SDM (53.7%)", color = "#e7298a", size = 9, family = "Century Gothic") +
geom_text(x = 75000, y = 1000, label = "LDM (19.6%)", color = "#d95f02", size = 9, family = "Century Gothic") +
geom_text(x = 18000, y = 0, label = "R (4.8%)", color = "#7570b3", size = 9, family = "Century Gothic") +
theme_bw() + theme(legend.position = "none", text=element_text(size=16, family = "Century Gothic"),
p <- ggplot(allIndYears) + geom_point(aes(dists, absElev, color = class), alpha = .3) +
ylab("Abosolute elevation change (m)") + xlab("Geographic distance (m)") +
geom_text(x=25000, y=1100, label="EM (21.9%)", color = "#1b9e77", size = 4, family = "Century Gothic") +
geom_text(x=50000, y=150, label="SDM (53.7%)", color = "#e7298a", size = 4, family = "Century Gothic") +
geom_text(x = 75000, y = 1000, label = "LDM (19.6%)", color = "#d95f02", size = 4, family = "Century Gothic") +
geom_text(x = 18000, y = 0, label = "R (4.8%)", color = "#7570b3", size = 4, family = "Century Gothic") +
theme_bw() + theme(legend.position = "none", text=element_text(size=12, family = "Century Gothic"),
plot.title = element_text(hjust = 0.5)) +
scale_color_manual(values = c("#1b9e77", "#d95f02", "#7570b3", "#e7298a")) + ggtitle("Migratory Portfolio")
ggsave("/Users/gzuckerman/Desktop/test.jpg", p, dpi=600, height=9.7, width = 8.2, units = "cm")
```

Expand Down

0 comments on commit 4108ee7

Please sign in to comment.