>>>>> On Mon, 3 Apr 2000 12:09:26 -0700, >>>>> niels Waller (nW) wrote:nW> R community, nW> I am having trouble adding Greek symbols to a plot. I want to mix Roman nW> text and Greek -- but they keep fighting! nW> Pseudo code for what I want: nW> [Greek] gamma [subscript]1 = [Roman] Threshold 1 nW> I have conducted a search on the CRAN FAQ list, but no luck. nW> Any and all hints would be GREATLY appreciated. If plot(1:10, main=expression(gamma[1]=="Threshold 1")) does what you want then help(plotmath) might get you started. Best, -- ------------------------------------------------------------------- Friedrich Leisch Institut f?r Statistik Tel: (+43 1) 58801 10715 Technische Universit?t Wien Fax: (+43 1) 58801 10798 Wiedner Hauptstra?e 8-10/1071 Friedrich.Leisch at ci.tuwien.ac.at A-1040 Wien, Austria http://www.ci.tuwien.ac.at/~leisch PGP public key http://www.ci.tuwien.ac.at/~leisch/pgp.key ------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 3 Apr 2000, niels Waller wrote:> > > > R community, > > I am having trouble adding Greek symbols to a plot. I want to mix Roman > text and Greek -- but they keep fighting! > > Pseudo code for what I want: > > [Greek] gamma [subscript]1 = [Roman] Threshold 1plot(1,1,main=expression(gamma[1]=="Threshold 1")) seems to work -thomas Thomas Lumley Assistant Professor, Biostatistics University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> [Greek] gamma [subscript]1 = [Roman] Threshold 1Have a look in documentation to 'plotmath'. I think something like the following should work: ...expression(gamma[1] == Threshold~1)... Regards, Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
R community, I am having trouble adding Greek symbols to a plot. I want to mix Roman text and Greek -- but they keep fighting! Pseudo code for what I want: [Greek] gamma [subscript]1 = [Roman] Threshold 1 I have conducted a search on the CRAN FAQ list, but no luck. Any and all hints would be GREATLY appreciated. Niels Waller Department of Psychology and Human Development Vanderbilt University niels.waller at vanderbilt.edu -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._