[R] superscript characters in title with '+'

DrCJones matthias.goddard at gmail.com
Fri Oct 22 13:01:48 CEST 2010


Hi,

How can I get the '2+' into superscript in the following title: 

'[Ca2+]i onsets' 

I tried the command below, but it doesn't work. What am I missing? 

hist(X, main=expression(([Ca*]i^2+) 'onsets'),  xlab = 'sec')




-- 
View this message in context: http://r.789695.n4.nabble.com/superscript-characters-in-title-with-tp3006981p3006981.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list