g [mailto:r-help-boun...@r-project.org] On
> Behalf Of Henrique Dallazuanna
> Sent: Monday, January 25, 2010 12:10 PM
> To: Larry Hotchkiss
> Cc: r-help@r-project.org
> Subject: Re: [R] Two == expressions in bquote
>
> Try this:
>
> text(2,8, bquote(delta~'='~mu^2 == .(
elp@r-project.org
Subject: Re: [R] Two == expressions in bquote
Larry Hotchkiss wrote:
> Hi,
>
> I want to put text on a plot containing something like: a = b^2 = using bquote.
>
> Example:
>
> mu = 5
> plot(1:10,1:10)
> text(2,8, bquote(delta == mu^2))# T
s,
Bert Gunter
Genentech Nonclinical Biostatistics
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Henrique Dallazuanna
Sent: Monday, January 25, 2010 12:10 PM
To: Larry Hotchkiss
Cc: r-help@r-project.org
Subject: Re: [R] Two ==
Larry Hotchkiss wrote:
Hi,
I want to put text on a plot containing something like: a = b^2 = using bquote.
Example:
mu = 5
plot(1:10,1:10)
text(2,8, bquote(delta == mu^2))# This works
text(2.5,8, bquote(phantom(0) == .(mu^2))) # but is unpredictable
text(2,8, bquote(de
Try this:
text(2,8, bquote(delta~'='~mu^2 == .(mu^2)))
On Mon, Jan 25, 2010 at 6:00 PM, Larry Hotchkiss wrote:
> Hi,
>
> I want to put text on a plot containing something like: a = b^2 = numeric value of b> using bquote.
>
> Example:
>
> mu = 5
> plot(1:10,1:10)
> text(2,8, bquote(delta == m
Hi,
I want to put text on a plot containing something like: a = b^2 = using bquote.
Example:
mu = 5
plot(1:10,1:10)
text(2,8, bquote(delta == mu^2))# This works
text(2.5,8, bquote(phantom(0) == .(mu^2))) # but is unpredictable
text(2,8, bquote(delta == mu^2 == .(mu^2)))
6 matches
Mail list logo