I have checked out the help files, but cannot find details on how to use
maths characters in ylab. Instead of m^2, I would like the 2 in superscript,
if possible. I would also like to place more padding on the label so that
the label is not obscured by the horizontal numbers.


y <- 1:10
x <- rnorm(10,50000,2000)
plot(x ~ y,
    ylab = 'Y Label (m^2)',
    las = 1,
    type = "n",
    bty = "n"
    )


Thanks
Murray

-- 
Murray Pung
Statistician, Datapharm Australia Pty Ltd
0404 273 283

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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