[R] Question about putting multiple plots on the same page

From: FD <fhduan_at_gmail.com>
Date: Wed, 9 Jan 2008 15:52:19 -0600


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.


        [[alternative HTML version deleted]]

R-help_at_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. Received on Wed 09 Jan 2008 - 21:54:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Jan 2008 - 02:30:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive