Re: [R] xyplot with grid?

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Wed, 09 May 2007 10:56:42 -0700

On 5/9/07, Gav Wood <news_at_gavofyork.fastmail.fm> wrote:
> Hello folks,
>
> So I'd like to use the lattice xyplot function, but here's the thing;
> I'd like a grid on it and a bit of annotation (line and text).
>
> So I tried just using the panel.grid, panel.text and panel.line but they
> didn't work after the plot had been called seemingly using the device
> coordinate system. So I made a new proxy panel function (calling
> panel.xyplot and passing the x/y/groups/subscripts args) put them in it,
> and they started working well.
>
> Only problem is that xyplot no longer plots the key; I still pass
> auto.key to into the high-level function, but no key gets plotted.
> What's the best way to get what I want?

Giving a reproducible example would be a good start.

-Deepayan



R-help_at_stat.math.ethz.ch 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 Wed 09 May 2007 - 18:00:35 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 Wed 09 May 2007 - 19:31:41 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.