Kay Cichini wrote:
hello,

i need to add legend text: "4th-root transformation", with the "th"
superscripted -
tried much - but nothing worked..
This puts it in the title for the plot:

plot(1, main=expression(paste("4"^"th"," root transformation")))

This puts it in a legend:

legend("topleft", pch=1, expression(paste("4"^"th"," root transformation")))


Duncan Murdoch

______________________________________________
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