[R] How can I write the square root symbol in an axes label?

William Dunlap wdunlap at tibco.com
Tue Oct 9 01:46:20 CEST 2012


plot(1:10, ylab=bquote(sqrt(abs("Standardized Residuals"))))

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
> Of 21rosit
> Sent: Monday, October 08, 2012 3:42 PM
> To: r-help at r-project.org
> Subject: [R] How can I write the square root symbol in an axes label?
> 
> <http://r.789695.n4.nabble.com/file/n4645497/square_root.jpg>
> 
> How can I write the square root symbol in an axes label like in the attached
> picture?
> Thanks a lot
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/How-can-I-write-the-
> square-root-symbol-in-an-axes-label-tp4645497.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.




More information about the R-help mailing list