Try
ylab=expression(Temperature*degree*C))
type demo(mathplot) at R prompt for more customizations.
Walmes Zeviani
Lavras - MG, Brasil.
Lathouri, Maria wrote:>
> Dear all
>
> I am doing some plots in R.
>
> I want to have as label in y-axis Temperature (oC). I have used
> ylab=expression(paste({Temperature} ^o*C)) but what I get is
> TemperatureoC.
> How can I have a space between Temperature and the units and also the
> units to be in brackets?
>
> Many thanks
> Maria
>
>
>
> [[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.
>
>
--
View this message in context:
http://www.nabble.com/superscript-in-ylab-tp26099304p26099677.html
Sent from the R help mailing list archive at Nabble.com.