Re: [R] adding device size-independent y=0 line to a lattice plot

From: Levi Waldron <leviwaldron_at_gmail.com>
Date: Mon, 31 Mar 2008 16:11:33 -0400

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.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 31 Mar 2008 - 20:15:03 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 Mon 31 Mar 2008 - 21:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive