Skip to content
Back to formatted view

Raw Message

Message-ID: <7a09e3940803311311r25e0c1bfqf0f3ac232f766cdb@mail.gmail.com>
Date: 2008-03-31T20:11:33Z
From: Levi Waldron
Subject: adding device size-independent y=0 line to a lattice plot
In-Reply-To: <eb555e660803311304g650dad5fma6842e086ea9bcf3@mail.gmail.com>

On Mon, Mar 31, 2008 at 4:04 PM, Deepayan Sarkar
<deepayan.sarkar at gmail.com> wrote:
>
>  The obvious thing to try would be
>
>  dotplot(y~x|fac,
>         panel = function(...) {
>             panel.abline(h = 0)
>             panel.dotplot(...)
>         })
>
>  Does this not work?
>
>  -Deepayan
>

Yes that works, thank you - I'm new to the lattice graphics package.