Displaying 1 result from an estimated 1 matches for "grob_point".
Did you mean:
geom_point
2008 Sep 17
1
ggplot2 - deprecated guide= argument in
...1:4, fill=colour, geom="tile")
qplot(1:4, 1:4, fill=colour, geom="tile") + scale_fill_identity()
# To get a legend, you also need to supply the labels to
# be used on the legend, and the grob to draw them:
# grob_tile, grob_line, or grob_point
qplot(1:4, 1:4, fill=colour, geom="tile") +
scale_fill_identity(labels=letters[1:4], guide="tile", name="trt")
This code used to work with ggplot2. However, after updating to the newer
version (version 0.6) and R 2.7.2, I get the following error message:
Erro...