Re: [R] Constructing arguments for plotmath

2010-08-01 Thread Wu Gong
I failed many times until Gabor gave his solution. The magic tick! PART1 <- 'TEXT' PART2 <- '^' PART3 <- '`\u00ae`' ARG <- paste(PART1, PART2, PART3) text(2,8, parse(text=str)) - A R learner. -- View this message in context: http://r.789695.n4.nabble.com/Constructing-arguments-for-plotmat

Re: [R] Constructing arguments for plotmath

2010-08-01 Thread Gabor Grothendieck
On Sun, Aug 1, 2010 at 11:03 AM, Dennis Fisher wrote: > Colleagues, > > I am encountering difficulty adding formatted text to a graphic.   > Specifically, I want to add a superscript in the middle of a text string but > I would like to format the text string on the fly.  The commands: >        pl

Re: [R] Constructing arguments for plotmath

2010-08-01 Thread David Winsemius
On Aug 1, 2010, at 11:03 AM, Dennis Fisher wrote: Colleagues, I am encountering difficulty adding formatted text to a graphic. Specifically, I want to add a superscript in the middle of a text string but I would like to format the text string on the fly. The commands: plot(1,1