Skip to content
Prev 303752 / 398502 Next

Inserting superscripts in free-format text line

On Aug 20, 2012, at 11:35 AM, Brian Kriegler wrote:

            
Not on my device. No closing paren.

Why not:

plot(1:10)
text(x=5, y=4.5, expression(test^1) )

You do not need quotes in plotmath expressions unless they are  
reserved plotmath function names. People reach for paste() in far too  
many situations.
And why not:

  expression(This~is~a~test^1~of~the~Emergency~Broadcast~System.)