Hi
see
?plotmath
# not tested
expression(paste("m^3, "/s"))
but I do not know how / is printed.
HTH
Petr
On 9 Mar 2006 at 11:48, Jing Yang wrote:
Date sent: Thu, 9 Mar 2006 11:48:45 +0100
From: "Jing Yang" <[EMAIL PROTECTED]>
To: "r-help" <[email protected]>
Subject: [R] how to make some characters in the xlab of a plot
to be
superscripted or subscript?
Send reply to: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
> Dear R-users,
>
> I am trying to make my plot nicer. Does anyboby know how to make some
> characters in the xlab of a plot to be superscripted or subscript? ?
> for example "m3/s" in the x-axis label, how to make 3 supersripted?
>
> Best,Jing
>
>
Petr Pikal
[EMAIL PROTECTED]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html