Re: [R] one more minor and small bug in lattice in R

From: Deepayan Sarkar <deepayan.sarkar_at_gmail.com>
Date: Fri 05 Aug 2005 - 02:37:55 EST

On 8/3/05, Wladimir Eremeev <wl@eimb.ru> wrote:
> Dear all.
>
> I have found one more minor bug in the Lattice package.
>
> When xyplot plots several curves on each panel with the default panel
> function panel.xyplot, and when it is called with "g" %in% type
> (that is,
> xyplot(y1+y2+y3~x|cond,allow.multiple=TRUE,type=c("o","g"),<other params>)
> ), it draws grid lines several times (for each curve), and it appears,
> that they overlay all curves plotted, except the last one.
>
> I think there is a need to establish some kind of flag, showing, that
> the grid is already drawn, and other runs of the panel.xyplot for the
> same panel must not draw it again.

This has been fixed in the latest version (which has been uploaded, but not on CRAN yet), by making panel.superpose handle 'g' in type.

Deepayan



R-help@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 Received on Fri Aug 05 02:46:36 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:04:16 EST