Re: [R] plot question

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


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'


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. mailing list PLEASE do read the posting guide! 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