s-news
[Top] [All Lists]

Re: graphics options and command par(mfrow=c(2,2))

To: Karin <twentestat@yahoo.com>
Subject: Re: graphics options and command par(mfrow=c(2,2))
From: Sundar Dorai-Raj <sundar.dorai-raj@pdf.com>
Date: Mon, 18 Jul 2005 08:42:03 -0500
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <20050718132102.84119.qmail@web32812.mail.mud.yahoo.com>
Organization: PDF Solutions, Inc.
References: <20050718132102.84119.qmail@web32812.mail.mud.yahoo.com>
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)


Karin wrote:
Hello,
I want to put four plots (each one is a boxplot with the command bwplot) on 1 graphic sheet. Therefore I use par(mfrow=c(2,2)). Somehow it puts every boxplot on a seperate page. How does that come? Do I have to change something on my plot arguments/ options / ? Or has it something to do with the command bwplot (as it is a command from Trellis graphics?). Thanks, Karin


If you're using bwplot, then you need

bwplot(..., layout = c(2, 2))

High-level par options don't work with trellis graphics.

--sundar

<Prev in Thread] Current Thread [Next in Thread>