Re: [R] plot question

From: John Wilkinson (pipex) <wilks_at_dial.pipex.com>
Date: Mon 04 Jul 2005 - 03:51:06 EST

a.d.

I refer you to ?title and its given examples.

try this --

plot(rnorm(10),rnorm(10),xlab=" ",ylab=" ") title(xlab="year",
ylab=expression(paste('M x'*10^{3},)),font=2)

note that 'title()' will alos accept a list for x and y labs, for additional parameters,e.g., 'col' and 'cex'

John

a.d wrote---

dear list:

in the following plot:

plot(rnorm(10),rnorm(10),xlab="year",ylab=expression (paste('M x'*10^{3},)),font.lab=2)

font.lab=2, but xlab and ylab are different. I want both labels in the same way. help?

a.d.



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 Received on Mon Jul 04 03:53:16 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:11 EST