Skip to content
Prev 207976 / 398502 Next

Plotmath: suprscript on scalable delimiter?

ComRades,

How do you put a superscript on a scalable delimiter?
I want to put 'b' as the power of the expression in the following plot:

t <- 1:25
K <- 0.2
y <- ((1-exp(-K*t))/(1-exp(-K*t)*exp(K)))^3
plot(t,y,"l",main="K=0.2, b=3")
text(15,5,expression(bgroup("(",frac(1-e^-Kt,1-e^-Kt*e^K),")")))

Plotmath examples in demo(plotmath) do not include this.
I've tried a few things to no avail and I did an RSiteSearch("superscript delimiter") with zero results.
Thx

Rub?n

____________________________________________________________________________________ 

Dr. Rub?n Roa-Ureta
AZTI - Tecnalia / Marine Research Unit
Txatxarramendi Ugartea z/g
48395 Sukarrieta (Bizkaia)