On 29.01.2010 13:03, Rubén Roa wrote:

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),")")))

text(15,5,expression(bgroup("(",frac(1-e^-Kt,1-e^-Kt*e^K),")")^3))

Uwe Ligges




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)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to