[R] Sweave: Howto write real TeX formula in plot

baptiste auguie ba208 at exeter.ac.uk
Sun Apr 19 23:34:01 CEST 2009


Perhaps try the pgfSweave package on r-forge?

http://r-forge.r-project.org/projects/pgfsweave/

HTH,

baptiste

On 19 Apr 2009, at 22:15, Jonas Stein wrote:

> Hi,
>
> i use Sweave to put plots in my .tex Documents. (pdflatex)
> Is there a nice solution for this:
>
> a) get a real LaTeX formula in the plot area.
> I have only found very complicate solutions. Is there sth. like
> \formula{x^2 = \oint f}
>
> b) how can i format axis and legend to get exact the same font that is
> used in the TeX-document?
>
> Thank you for any help.
>
> -- 
> Jonas Stein <news at jonasstein.de>
>
> ______________________________________________
> 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.

_____________________________

Baptiste Auguié

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag




More information about the R-help mailing list