Hi, all Does anybody know if it is possible to include TeX-style formulae in R plots? The aim is to export such plots to LaTeX documents using the postscript() device. Many thanks in advance, Alberto Munoz --------------------------------------------------------------------- Alberto Munoz Phone: +34-91- 624 95 79 Dpto. de Estadistica y Econometria Fax: +34-91- 624 98 49 c/Madrid 126, 28903 Getafe e-mail: albmun at est-econ.uc3m.es Universidad Carlos III de Madrid --------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 Thu, 3 Feb 2000, Alberto [iso-8859-1] Mu?oz wrote:> Hi, all > > Does anybody know if it is possible to include TeX-style formulae > in R plots? The aim is to export such plots to LaTeX documents > using the postscript() device.You can use different way: First export plot for R as an (e)ps file and than use LaTeX psfrag package to add text and formulae. Jan> > Many thanks in advance, > > > Alberto Munoz > > > --------------------------------------------------------------------- > Alberto Munoz Phone: +34-91- 624 95 79 > Dpto. de Estadistica y Econometria Fax: +34-91- 624 98 49 > c/Madrid 126, 28903 Getafe e-mail: albmun at est-econ.uc3m.es > Universidad Carlos III de Madrid > --------------------------------------------------------------------- >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 Thu, 3 Feb 2000, Alberto [iso-8859-1] Muñoz wrote:> Hi, all > > Does anybody know if it is possible to include TeX-style formulae > in R plots? The aim is to export such plots to LaTeX documents > using the postscript() device. >R has a facility for printing expressions as text, which results in quite a lot of TeX-style functionality. It's not quite as pretty as TeX, and it probably won't be using the same fonts as your LaTeX document, but it is quite easy to use. There are examples of how to do this in help(text) and help(legend). There used to be a description in doc/plotmath.tex,but it seems to have moved. -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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._