This is one area where the theme inheritance combined with the default
theme isn't an improvement on the old system...
The problem is that in the default theme_grey(), axis.line is set to
element_blank(), and the two elements that inherit from axis.line,
axis.line.x and axis.line.y, inherit the blank element. Perhaps it
would be a little easier the default for axis.line was this:
theme(axis.line = element_line(colour=NA))
At any rate, this should do the trick - you just need to set axis.line
to something that's not element_blank():
qplot(1:3, 1:3) +
theme(axis.line = element_line(),
axis.line.x = element_line(colour = "red", size = 1),
axis.line.y = element_line(colour = "blue", size = 1))
-Winston