Skip to content

Polishing my geom_bar for publication

1 message · Aurelie Cosandey Godin

#
Sorry Dennis,
Didn't realized I went off the list!
I found a solution for one of my problem: removing x-axis label!

with this code: ggplot(Final2, aes(x=spp, y=WPUE, fill=season)) + geom_bar(position=position_dodge()) + geom_errorbar(aes(ymin=WPUE-wpue.se, ymax=WPUE+wpue.se),  size=.3,width=.2,position=position_dodge(.9)) + scale_x_discrete("", breaks=c("102","90","91","94","96"), labels= rep("", 5)) + ylab("Biomass (Weight (kg)/tow)") + scale_fill_grey(name="Survey season", breaks=c("summer", "winter"), labels=c("Spring", "Fall"))+ coord_flip() + theme_bw() + opts(axis.title.x = theme_text(size = 10), panel.grid.minor = theme_blank())

However, I am still trying to figure out how to fix the width of my two plots on my final pdf. I would appreciate any help on this! Thank you.
On 2011-12-04, at 12:59 PM, Aurelie Cosandey Godin wrote: