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.

Reply via email to