Re: [R] Plotting an Underbrace in R

2011-04-30 Thread Yihui Xie
Oh, I did not see this post and I just saw your message in my blog. Anyway, here is a solution for other people's future reference: http://yihui.name/en/2011/04/produce-authentic-math-formulas-in-r-graphics/ Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Department of Stat

Re: [R] Plotting an Underbrace in R

2011-04-15 Thread Michael McAssey
Baptiste, Thank you. The examples in the documentation for tikz helped me solve this problem, and give me a good tool for future plots. I only need to figure out how to incorporate LaTeX packages like amssymb so that I can use \mathbb{} to put the real numbers symbol in my plot. Regards, Micha

Re: [R] Plotting an Underbrace in R

2011-04-15 Thread baptiste auguie
Hi, Through pgfSweave you can use the tikz device, which is the one that can interpret Latex code (package tikzDevice). I would start with a minimal self-contained plot with this function. see ?tikz for examples. HTH, baptiste On 15 April 2011 20:03, Michael McAssey wrote: > Ben, > > This e

Re: [R] Plotting an Underbrace in R

2011-04-15 Thread Michael McAssey
Ben, This example of pgfSweave looks like it would address my problem.  I installed this package, but I cannot determine how to use it to make R convert LaTeX commands into mathematical symbols on an R plot.  The documentation does not seem to address this.  I tried to mimic the example from Yihui

Re: [R] Plotting an Underbrace in R

2011-04-14 Thread Ben Bolker
Michael McAssey gmail.com> writes: > > I need to include some mathematical expressions in a plot I am creating in > R, one of which requires an underbrace, which in LaTeX would be written like > > \underbrace{T \cdots T}_{n times} > > There does not appear to be a provision for this in plotmat

[R] Plotting an Underbrace in R

2011-04-14 Thread Michael McAssey
I need to include some mathematical expressions in a plot I am creating in R, one of which requires an underbrace, which in LaTeX would be written like \underbrace{T \cdots T}_{n times} There does not appear to be a provision for this in plotmath, and I cannot find anything on the topic in the R