[R] Plotting sigma symbol with unicode and turning into pdf

Dieter Menne dieter.menne at menne-biomed.de
Thu Aug 13 08:32:34 CEST 2009

Jonathan R. Blaufuss wrote:
> set.seed(1) 
> Data=rnorm(100,sd=10000) 
> plot(density(Data)) 
> text(25000,0.00004,
> 	paste("\u03c3 = ",
>               format(round(sd(Data),digits=3),big.mark=",")),
> 	font=2, col="blue")

That example gives a latin "s" in my Windows system. Using font=5 it works.
The "standard references" are the following:

Ben Bolker's digest of Brian Ripley:

Brian Ripley


View this message in context: http://www.nabble.com/Plotting-sigma-symbol-with-unicode-and-turning-into-pdf-tp24945989p24949583.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list