Mark
unread,Sep 17, 2012, 6:32:10 PM9/17/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggplot2
I didn't notice this with 0.9.2 but I have a problem with trans_format
and scale_colour_continuous. It seems to add single quotes to the
labels. scale_y_continuous handles it appropriately, however. Here is
an example:
> x <- runif(100, 0, 10)
> y <- 10^(x)
> qplot(x, y, colour=y) + scale_y_continuous(trans="log10", labels=trans_format("log10", math_format())) + scale_colour_continuous(trans="log10", labels=trans_format("log10", math_format()))
> trans_format("log10", math_format())(log_breaks()(y))