Commit 9c888aa6 authored by Kelly Hondula's avatar Kelly Hondula

expand limits for axis crossing

parent 41cf77a2
......@@ -29,7 +29,7 @@ h_biodiv <- ggplot(summarymetrics_hab_bio, aes(HabitatCat_short, median, fill =
guides(fill=guide_legend(title=NULL), color = FALSE)+
coord_flip() +
theme(legend.position="none") +
scale_y_continuous(label=abs,limits = c(-40,60)) +
scale_y_continuous(label=abs,limits = c(-40,60), expand = c(0,0)) +
theme(axis.title.x = element_text(face="bold", size=12)) +
scale_fill_manual(values=colorsBiodiv)+
scale_color_manual(values=colorsBiodiv)
......@@ -59,7 +59,7 @@ h_biogeo <- ggplot(summarymetrics_hab_nutrients, aes(HabitatCat_short, median, f
guides(fill=guide_legend(title=NULL), color = FALSE)+
coord_flip() +
theme(legend.position="none") +
scale_y_continuous(label=abs,limits = c(-40,60)) +
scale_y_continuous(label=abs,limits = c(-40,60), expand = c(0,0)) +
theme(axis.title.x = element_text(face="bold", size=12)) +
scale_fill_manual(values=colorsBioGeo)+
scale_color_manual(values=colorsBioGeo)
......
......@@ -32,7 +32,7 @@ dist_biodiv <- ggplot(summarymetrics_dist_bio, aes(DisturbCat, median, fill = Me
geom_text(position=position_dodge(0.9), hjust= 1.1, size = 3)+
guides(fill=guide_legend(title=NULL), color = FALSE)+
coord_flip() +
scale_y_continuous(label=abs, breaks=seq(-100,100,20),limits = c(-40,70)) +
scale_y_continuous(label=abs, breaks=seq(-100,100,20),limits = c(-40,70), expand = c(0,0)) +
theme(axis.title.x = element_text(face="bold", size=12)) +
# geom_text(aes(label=panel_label,x = panel_label_x, y=panel_label_y),
# size=5,fontface="bold", inherit.aes=FALSE) +
......@@ -62,7 +62,7 @@ dist_biogeo <- ggplot(summarymetrics_dist_nutrients, aes(DisturbCat, median, fil
geom_text(position=position_dodge(0.9), hjust= 1.3, size = 3)+
guides(fill=guide_legend(title=NULL), color = FALSE)+
coord_flip() +
scale_y_continuous(label=abs, breaks=seq(-100,100,20),limits = c(-40,70)) +
scale_y_continuous(label=abs, breaks=seq(-100,100,20),limits = c(-40,70), expand = c(0,0)) +
theme(axis.title.x = element_text(face="bold", size=12)) +
# geom_text(aes(label=panel_label,x = panel_label_x, y=panel_label_y),
# size=5,fontface="bold", inherit.aes=FALSE) +
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment