You need to set the labels... Hadley
On Sat, Sep 24, 2011 at 3:49 AM, Casper Ti. Vector <caspervec...@gmail.com> wrote: > 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. > > > ______________________________________________ > 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. > > -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ ______________________________________________ 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.