[R] postscript, greek lellters

baptiste auguie baptiste.auguie at googlemail.com
Sat Jan 9 14:01:58 CET 2010


Hi,

Something like this maybe,

plot.new()

lab = expression(bar(T)*"("*-x*" ; "*alpha*")"-G*"("*x*" ; "*alpha*" , "*J*")")

text(0.5,0.5,lab)

?plotmath

HTH,

baptiste

2010/1/8 bernardo lagos alvarez <blacertain at gmail.com>:
> Dear useRs,
>
> How can I, writting the correct greek letter using postscrip or pdf function.
>
> In my  figures appears  only the first letter  (a of alpha, n of nu)
> when include the graphs in my .tex doxument. I am using
>
> title( expression(bar(T)(paste(-x,";",alpha))-G(paste(x,";",alpha,",",J))))
> title( expression(bar(T)(paste(-x,";"~alpha))-G(paste(x,";"~alpha,",",J))))
> title( expression(bar(T)(paste(-x,";"*alpha))-G(paste(x,";"*alpha,",",J)))),
> not work.
>
>>sessionInfo()
> R version 2.9.0 (2009-04-17)
> i386-pc-mingw32
>
> locale:
> LC_COLLATE=Spanish_Spain.1252;LC_CTYPE=Spanish_Spain.1252;LC_MONETARY=Spanish_Spain.1252;LC_NUMERIC=C;LC_TIME=Spanish_Spain.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
>
> Thanks for your help,
>
> Bernardo.
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list