Message-ID: <0966178A-CB8B-44C6-9FF0-CD54B61E066C@comcast.net>
Date: 2011-12-12T01:17:04Z
From: David Winsemius
Subject: Labelling R plots using Greek letters
In-Reply-To: <1323646690.91350.YahooMailNeo@web112501.mail.gq1.yahoo.com>
On Dec 11, 2011, at 6:38 PM, john james wrote:
> Dear R Users,
>
>
> Please I have the following query. I want to label one of the axes
> of my graph with the follwing latex expression- \beta^{\prime}x, i.e
> I have the transpose of beta. How do I go abt this.
>
> My second query is similar but it has to do with the conditioning
> symbol. The other axis is to be labelled as Y|X + \beta^{\prime}x.
?plotmath
plot(1,1, xlab=expression(beta^"`"*X), ylab=expression(Y*"|"*X
+beta^"`"*X) )
(Unfortunately the prime on the y lab is noe on the printed page in my
device ( mac). so this hack seems to work better)
plot(1,1, xlab=expression(beta^"'"*X),
ylab=expression(over(phantom(""), Y*"|"*X+beta^"'"*X) ))
>
>
> Thank you very much as I await assistance on this.
>
> John
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT