[R] R plot-par(mfrow=c(x,y)) on multiple pages

Mohsen Jafarikia jafarikia at gmail.com
Wed Jan 20 22:56:10 CET 2016


Thanks very much for the comment.

I was also wondering why all the y-axis on all 12 plots are similar to
the first plot. I have 12 plots and scale of the values for these
plots are different. It seems R is using the x-axis for each
individual plot correctly but y-axis is the same for all 12 graphs.

Regards,
Mohsen


On Wed, Jan 20, 2016 at 4:27 PM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
> Use a device like pdf() or postscript() that supports multiple pages.
> Or start a new default device with dev.new() so you can see two
> figures simultaneously.
>
> Sarah
>
> On Wed, Jan 20, 2016 at 3:37 PM, Mohsen Jafarikia <jafarikia at gmail.com> wrote:
>> Hello everyone:
>>
>> I have 12 plots that I am using par(mfrow=c(3,2)) to have 6 of them in
>> a single page. R only prints the 6 first graph in a single page. Any
>> comments how I can ask R to print all 12 graphs in two pages.
>>
>> Thanks very much,
>> Mohsen
>>



More information about the R-help mailing list