[R] Mathematical Superscript on the y-axis of a plot

partha_bagchi@hgsi.com partha_bagchi at hgsi.com
Thu Aug 19 14:24:50 CEST 1999


I am trying to get superscripts on the y-axis. I keeping getting syntax
error:

This works as advertised:
> plot(c(1:10), ylab= expression(paste(x^ theta)))

This does not:
>plot(c(1:10), ylab= expression(paste(x^ {++})))

Note that I am trying to get ++ as superscript.
Any suggestions?
Thanks.


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list