Skip to content
Back to formatted view

Raw Message

Message-ID: <3D60E12A.A91A6B50@statistik.uni-dortmund.de>
Date: 2002-08-19T12:14:34Z
From: Uwe Ligges
Subject: latex for xlab

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.

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