[R] Special character is graph label

John Kane jrkrideau at inbox.com
Wed May 6 19:14:15 CEST 2015


Also have a look at http://astrostatistics.psu.edu/su07/R/html/grDevices/html/plotmath.html for a list of terms.

Oh and it's called  Xbar or X-bar. 

John Kane
Kingston ON Canada


> -----Original Message-----
> From: dcarlson at tamu.edu
> Sent: Wed, 6 May 2015 16:33:01 +0000
> To: tacsunday at yahoo.fr, r-help at r-project.org
> Subject: Re: [R] Special character is graph label
> 
> You do this with plotmath (see the manual page, ?plotmath):
> 
>> plot(rnorm(10), rnorm(10), xlab=expression(bar(X)))
> 
> -------------------------------------
> David L Carlson
> Department of Anthropology
> Texas A&M University
> College Station, TX 77840-4352
> 
> 
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Robert U
> Sent: Wednesday, May 6, 2015 8:10 AM
> To: R-help at r-project.org
> Subject: [R] Special character is graph label
> 
> Dear R users,
> I am having issues finding a special character (and how to insert it) in
> the lab of a graph axis.
> 
> Let us say that the label of my axis is "X", i would like the X to have a
> "line" over it, indicating that it is the "mean of X values" (i don't
> even know how to properly state that in english...). Does someone
> understand, and have any idea about how to do that?
> Greetings,
> R.H
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

____________________________________________________________
Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.



More information about the R-help mailing list