I know there's a simple solution to this, but I'm not searching the
correct terms. I want to remove the white space between the bottom of
the bars and the x-axis. Which opt() am I missing?
p1 + geom_bar(position = dodge, stat =
"identity",aes(fill=factor(year))) + labs(fill="Year") +
scale_fill_manual(values=c("grey10","grey30","grey50","grey70")) +
geom_errorbar(limits, position = dodge, colour = "black",width=0.3) +
scale_x_discrete('Depth stratum (m)') + scale_y_continuous('Mean
density (white abalone / ha)') +
theme_bw() + opts(legend.position=c(0.85,0.7),legend.text =
theme_text(size=12),
legend.title = theme_blank(),axis.title.x = theme_text(face="bold",
size=12), axis.text.x = theme_text(size=12),
axis.title.y = theme_text(face="bold", size=12, angle=90),
axis.text.y = theme_text(size=12))