Re: [R] Superscript followed by number then superscript in text

2013-03-19 Thread Benjamin Gillespie
Thanks to Dennis, Thomas and Rui - I was missing the "~". Many thanks, Ben Gillespie Research Postgraduate From: Dennis Murphy [djmu...@gmail.com] Sent: 18 March 2013 20:47 To: Benjamin Gillespie Subject: Re: [R] Superscript followed by n

Re: [R] Superscript followed by number then superscript in text

2013-03-18 Thread Rui Barradas
Hello, Something like this? plot(1, type = "n") text(1,1, expression(capacity ~ 10^3 ~ m^3)) Hope this helps, Rui Barradas Em 18-03-2013 20:29, Benjamin Gillespie escreveu: Hi all, I'm having problems finding the correct format for a command. I would like to write some text on a plot. I'

Re: [R] Superscript followed by number then superscript in text

2013-03-18 Thread Thomas Lumley
On Tue, Mar 19, 2013 at 9:29 AM, Benjamin Gillespie wrote: > Hi all, > > I'm having problems finding the correct format for a command. > > I would like to write some text on a plot. > > I'm using the following command: > > text(x,y,"text here", srt=90) > > I would like the text to read: > > capaci

[R] Superscript followed by number then superscript in text

2013-03-18 Thread Benjamin Gillespie
Hi all, I'm having problems finding the correct format for a command. I would like to write some text on a plot. I'm using the following command: text(x,y,"text here", srt=90) I would like the text to read: capacity 10^3 m^3 (with ^ denoting superscript (i.e. each '3' as superscript). I've