[R] latex for xlab

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Aug 19 14:14:34 CEST 2002

Olivier Martin wrote:
> Hi all,
> I don't find the solution to my problem .
> I represent  some points and i would like  a title for  the x axis.
> I would like to write log_2 where 2 is a subscript of log.
> I think  i have to use the functions parse or expression but i have some
> difficulties
> to understand how i should use them.


Use it as in
 plot(1:10, xlab=expression(log[2]))

Uwe Ligges
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