Skip to content
Back to formatted view

Raw Message

Message-ID: <f8e6ff050901190551o3d54fce3r34398deeeffe0cfc@mail.gmail.com>
Date: 2009-01-19T13:51:12Z
From: Hadley Wickham
Subject: lattice question: independent per-row or per-column scaling?
In-Reply-To: <797664590901080925n2aeb8105w1b1a29490daf71eb@mail.gmail.com>

On Thu, Jan 8, 2009 at 11:25 AM, Ren? J.V. Bertin <rjvbertin at gmail.com> wrote:
> Hello - and happy newyear to all of you!
>
> I've got some data that I'm plotting with bwplot, a 3x2x3 design where
> the observable decreases with the principle independent factor, but at
> different rates.
>
> I'd like to get lattice to impose not a single set of axes ranges
> identical for all panels, but ranges that are identical for each panel
> row or each column. Effects will stand out much better like that.
>
> I've looked through the documentation of the latest lattice version,
> but I don't see a way to achieve this with a simple argument passed to
> bwplot. Can it be done otherwise and if so, how?

It's not lattice, but you can do this with ggplot2 - see the examples
for http://had.co.nz/ggplot2/facet_grid.html

Regards,

Hadley

-- 
http://had.co.nz/