Try library(scales)
On Monday, 15 October 2012 19:17:59 UTC+1, Eduardo Ibanez wrote:Hi,I am having problems with the gradient scale when applied to color or fill. I am running R version 2.15.1 and ggplot v 0.9.2.1 under Windows 2008 Server x64 (SP1).As you can see in the image below, the legend does not show the appropriate colors used in the main part of the graph. I have run the code below in 4 computers with the same setup and two of them showed the correct legend and the other two were incorrect.Does the gradient scale use an additional package that could be causing this behaviour?Thanks,Eduardo
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2
Thanks, Brandon. I changed the background color of the legend and it looks like the tick marks are there. The color bar is not appearing.