[R] How to plot an expression-label with variable text
baptiste auguie
baptiste.auguie at googlemail.com
Fri Aug 27 20:28:09 CEST 2010
hi,
try this
lab =bquote(paste("Estimated ", t[50]," from ",.(what)))
HTH,
baptiste
On 27 August 2010 20:19, Dieter Menne <dieter.menne at menne-biomed.de> wrote:
>
> plot.new()
> lab =expression(paste("Estimated ", t[50]," from tgv"))
> text(0.5,0.5,lab)
> # Should look the same as above. I could not get the substitute right:
> what = "tgv"
> lab =expression(paste("Estimated ", t[50]," from ",what))
> text(0.5,0.2,lab)
>
More information about the R-help
mailing list