You need to provide commented, minimal, self-contained, reproducible
code.  The following code works fine for me:

> par(mfrow=c(2,2))
> plot(0)
> plot(1)
> plot(2)
> plot(3)
>

But I have no idea of how you are trying to use it, what operating
system you have, what type of device you are going out to, what your
margins are, etc.

On Jan 9, 2008 4:52 PM, FD <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I met a problem when trying to put multiple plots on the same page. I have a
> plotting function (e.g., myfunction()) that contains the lines of par(),
> layout(). Now I want to try four types of parameter combinations and  put
> these four figures on the same page. I tried par(mfrow or mfcol) and layout
> but no go. It seems split.screen is the right choice for me. But I always
> got the error message "Error in plot.new() : figure margins too large".  I
> don't really want to change the margin settings in myfunction() since it
> involves lots of modifications.  Are there any easier ways to split window
> and also automatically adjust the margins (and other plotting settings)?
> Thanks a lot.
>
> FD
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to