This example code gives me everything I want except for the colorbar labels.
require(ggplot2)
require(RColorBrewer)
df <- faithfuld
pbase <- ggplot(data=df, aes(x=waiting, y=eruptions))
p1 <- pbase + geom_contour_filled(aes(z=100*density),
show.legend=T) +
scale_fill_manual(values=brewer.pal(11,"Spectral"),
guide = guide_colorsteps(direction="horizontal",
title.position="top",
title="Density*100.")) +
theme(legend.position="top")
Rather than the default labels, what I'd like are labels just at the end points of the bar. I have tried using the "draw.ulim" and "draw.llim" parameters in the guide, but they seem to have no effect. I've searched for similar posts, but not found an answer to this question.