[R] superscript in ylab
Peter Ehlers
ehlers at ucalgary.ca
Wed Oct 28 21:19:21 CET 2009
S Ellison wrote:
>>>> "Lathouri, Maria" <m.lathouri06 at imperial.ac.uk> 10/28/09 6:02 PM >>>
>> I want to have as label in y-axis Temperature (oC).
> First, look at ?plotmath and find the 'degree' symbol...
>
> Then look at the symbol for spacing.
>
> Then try
> ylab=expression(Temperature~degree*C)
and then perhaps
ylab=expression(Temperature~"("~degree*C~")")
-Peter Ehlers
>
>
>
> *******************************************************************
> This email and any attachments are confidential. Any use...{{dropped:8}}
>
> ______________________________________________
> 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