Re: [R] multiple plots per page using hist and pdf

2008-02-27 Thread John Kane
I think you need to reset the par(mfrow=c(2,2)) before plotting the second set of graphs. --- Ben Tupper <[EMAIL PROTECTED]> wrote: > Hello, > > I am puzzled by the behavior of hist() when > generating multiple plots > per page on the pdf device. In the following example > two pdf files >

Re: [R] multiple plots per page using hist and pdf

2008-02-27 Thread Ben Tupper
On Feb 27, 2008, at 11:45 AM, Gavin Simpson wrote: > On Wed, 2008-02-27 at 11:31 -0500, Ben Tupper wrote: >> Hello, >> >> I am puzzled by the behavior of hist() when generating multiple plots >> per page on the pdf device. In the following example two pdf files >> are generated. The first results

Re: [R] multiple plots per page using hist and pdf

2008-02-27 Thread Gavin Simpson
On Wed, 2008-02-27 at 11:31 -0500, Ben Tupper wrote: > Hello, > > I am puzzled by the behavior of hist() when generating multiple plots > per page on the pdf device. In the following example two pdf files > are generated. The first results in 4 plots on one pdf page as > expected. However,

[R] multiple plots per page using hist and pdf

2008-02-27 Thread Ben Tupper
Hello, I am puzzled by the behavior of hist() when generating multiple plots per page on the pdf device. In the following example two pdf files are generated. The first results in 4 plots on one pdf page as expected. However, the second, which swaps one of the plot() calls for hist(), res