Re: [R] configure the margin of the plot

2007-11-29 Thread Wang, Zhaoming (NIH/NCI) [C]
It looks much better now! Thanks Jim!! -Original Message- From: jim holtman [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 7:29 PM To: Wang, Zhaoming (NIH/NCI) [C] Cc: r-help@r-project.org Subject: Re: [R] configure the margin of the plot try this: layout(cbind(1,2)) par

Re: [R] configure the margin of the plot

2007-11-29 Thread jim holtman
try this: layout(cbind(1,2)) par(mar=c(4,4,2,0)) plot(0) par(mar=c(4,0,2,0)) plot(0, yaxt='n', ylab='') On Nov 29, 2007 5:41 PM, Wang, Zhaoming (NIH/NCI) [C] <[EMAIL PROTECTED]> wrote: > I'm trying to put two plots side-by-side in two panels. Since the > y-axis of the two plots is the same, I w