Thanks :)
> ...could anyone tell me how to
> 1. Change the strip text for factor 1 to display the Greek letters
> alpha, beta, gamma instead of "a", "b", "c"?
It's not possible in the current version, but I just made a change in
the development version, so you'll be able to do something like
mtcars$cyl2 <- factor(mtcars$cyl, labels = c("alpha", "beta", "gamma"))
qplot(wt, mpg, data = mtcars) + facet_grid(. ~ cyl2, labeller = label_parsed)
to have the labels show up as their greek letters.
> 2. Annotate the panel corresponding to levels (a,d) with some text?
> 3. Annotate a point within a specific panel?
Just construct an appropriate data frame that records where (in which
panel and in which location) you want the labels, and then use
geom_text() to plot it. If you have a specific problem, I can provide
more details, otherwise have a look at my example with the presidents
data in the toolbox chapter.
Regards,
Hadley
Exactly :) Once I figure out what the common patterns of annotations
are, I plan to provide a few helper functions to make annotating your
plot a little easier.
Hadley