Re: [R] Help with graphic margin

2010-09-19 Thread Filoche
Thank you Greg. xpd=NA is working as intended. I got 1 more problem with thought. When I'm using xpd=NA, abline function plots all my regression lines outside the plot boxes. Any solutions for that strange behavior? With regards, -- View this message in context:

Re: [R] Help with graphic margin

2010-09-19 Thread Filoche
I found what was the problem. Instead of using xpd = NA in par(..) I use it in the plot. With regards, Phil -- View this message in context: http://r.789695.n4.nabble.com/Help-with-graphic-margin-tp2542469p2546395.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Help with graphic margin

2010-09-17 Thread Greg Snow
. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Filoche Sent: Thursday, September 16, 2010 5:55 PM To: r-help@r-project.org Subject: Re: [R] Help

[R] Help with graphic margin

2010-09-16 Thread Filoche
Hi everyone. I would like to make a graphic with 2 subplots (lets say A and B). For instance, I use : par(mfcol = c(2,1)); The 2 subplots use the same X axis. So I provide no tics labels and no xlab for the top plot. I would like the second plot to be right bellow the first one (small

Re: [R] Help with graphic margin

2010-09-16 Thread Greg Snow
Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Filoche Sent: Thursday, September 16, 2010 9:46 AM To: r-help@r-project.org Subject: [R] Help with graphic margin

Re: [R] Help with graphic margin

2010-09-16 Thread Filoche
Hi there and thank you for reply. I have been trying that, using mar to set margin around each plot and oma to specify bottom space. However, it wont display the xlab. Here's my code : pdf(file=/home/persican/Desktop/test.pdf, width = 3.5, height = 5.6, pointsize = 8); par(mfcol = c(3,1),