[R] plot question

John Wilkinson (pipex) wilks at dial.pipex.com
Sun Jul 3 19:51:06 CEST 2005


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.




More information about the R-help mailing list