Related questions
Change the color of the axis labels
Here's the relevant code:
ggplot.3plus<-ggplot(summary.3plus, aes(x=sp1, y=fract.mean, fill=ForestAge)) +
geom_bar(position=position_dodge())+ coord_cartesian(ylim = c(1, 1.175))+
geom_errorbar(aes(ymin=fract.mean-se, ymax=fract.mean+se),
width=.2, # Width of …
Multirow axis labels with nested grouping variables
I would like the levels of two different nested grouping variables to appear on separate lines below the plot, and not in the legend. What I have right now is this code:
data <- read.table(text = "Group Category …
Thousand separator in label of x or y axis
I would like to have pretty labels on the y-axis. For example, I prefer to have 1,000 instead of 1000. How can I perform this in ggplot? Here is a minimum example:
x <- data.frame(a=c("a","b","c","…