gmbaranzoni
gmbaranzoni

Reputation: 65

R plot: how to write superscript expression with greek letters?

I am try to write "2 -ΔΔCT" in a Y axes in a graph. Please, note the letter "T" is subscripted in the expression "-ΔΔCT". This is the closest that I could do:

   plot + ylab(expression(paste("2"^{-ddC[T]})))

Do you have any better suggestion?

Thanks

Upvotes: 1

Views: 1513

Answers (1)

Jilber Urbina
Jilber Urbina

Reputation: 61154

Maybe something like this...

plot(1, ylab=expression(2^{-Delta* Delta*C[T]}))

which produces...

enter image description here

Upvotes: 1

Related Questions