s-news
[Top] [All Lists]

Re: Subscript in graphic label

To: Tristan Lorino <tristan.lorino@lcpc.fr>
Subject: Re: Subscript in graphic label
From: Stuart Luppescu <s-luppescu@uchicago.edu>
Date: Fri, 26 Oct 2007 09:05:40 -0500
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <98995274.20071026100902@lcpc.fr>
References: <98995274.20071026100902@lcpc.fr>
On 金, 2007-10-26 at 10:09 +0200, Tristan Lorino wrote:
> Hi,
> 
> Is it possible to put some subscript/superscript in a xlab or ylab?
You can do it with expression(). This is from the example from the
text() help file in R:

expression(hat(beta) == (X^t * X)^{-1} * X^t * y)
-- 
Stuart Luppescu -=- slu .at. ccsr.uchicago.edu        
University of Chicago -=- CCSR 
才文と智奈美の父 -=-    Kernel 2.6.20-gentoo-r7                
As flies to wanton boys are we to the gods; they
 kill us for their sport.   -- Shakespeare, "King
 Lear" 
 
 

<Prev in Thread] Current Thread [Next in Thread>