Re: [R] Specify custom par(mfrow()) layout for defined plot()

From: Michael Bach <>
Date: Mon, 02 May 2011 15:54:56 +0300

Uwe Ligges <> writes:

> On 29.04.2011 17:10, Michael Bach wrote:
>> Dear R Users,
>> I am doing stats::decompose() on 4 different time series. When I issue
>> csdA<- decompose(tsA)
>> plot(csdA)
>> I get a summary plot for observed, trend, seasonal and random components
>> of decomposed time series tsA. As I understand it, the object returned
>> by decompose() has it's own plot method where mfrow(4,1) etc. is
>> defined. Now suppose I wanted to wrap those mfrow(4,1) into my own
>> mfrow(2,2) layout. How could I achieve this? Is there a general way to
>> handle these cases? Something like a "meta" par(mfrow())?
> This does not work and is one of the reasons why the grid package was developed.

Does this mean that there is no way whatsoever or that there is a workaround via the grid package??

Kind Regards,
Michael Bach mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 05 May 2011 - 06:25:09 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 05 May 2011 - 07:00:06 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive