Skip to content

latex for xlab

2 messages · Uwe Ligges, Olivier MARTIN

#
Olivier Martin wrote:
See 
 ?plotmath

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
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.

Thanks