> For this example: > > library(ggplot2) > p <- ggplot(mtcars, aes(x = wt, y=mpg)) + geom_point() > p <- p + scale_x_continuous(expression(beta)) > p > > How can I include text with the expression. For example, "level of > \beta". Also, how can I increase
Have a look at ?plotmath - you want something like expression(paste("Level of ", beta)) > the size of the font for this axis label. See http://had.co.nz/ggplot2/book/polishing.pdf Hadley -- 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.