Is there any way to use expression() in legend labels with ggplot2?

It seems that things like
> scale_shape_manual(value = c(
>   x = expression(italic(x)),
>   y = expression(italic(y))
> ))
don't work.

Thanks very much :)

-- 
    Using GPG/PGP? Please get my current public key (ID: 0xAEF6A134,
valid from 2010 to 2013) from a key server.

Attachment: signature.asc
Description: Digital signature

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to