[R] Angstrom Symbol on Y-axis ?

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Mar 25 15:57:32 CET 2009



Pooja Jain wrote:
> Hi,
> 
> I have started very recently with R in order to get excellent Box and  
> Whisker plots. I could plot my data nicely. However, I can't figure  
> out from R-mailing list archive or google search either, how to place  
> an Angstrom sign/symbol on the y-axis (any axis in principle), after a  
> usual y-axis label ?
> 
> I am doing something like this:
> 
> 
> boxplot(MAE.0_6,MAE.7_12,MAE.13_20,MAE.21_40,MAE.41_100,MAE. 
> 101_200,MAE.201_300,MAE. 
> 301_400 
> ,cex 
> .lab 
> = 
> 0.80 
> ,names 
> = 
> c 
> ("0 
> -6 
> ","7 
> -12 
> ","13 
> -20 
> ","21 
> -40","41-100","101-200","201-300","301-400"),cex.axis=0.70,col="gold",  
> xlab="Allowed Range", ylab="MAE(",\305,")")
> 
> I did use "\\oA" (without quotes) in place of \305 in the above command.

\305 works for me perfectly well (I am in latin1), or in plotmath 
terminology, you may want to use a ring over some letter as in 
expression(ring(A)).

Uwe Ligges



> Please help.
> 
> Many thanks.
> 
> Kanu
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses, which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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