Skip to content
Prev 260866 / 398502 Next

panel.first problem when plotting with formula

On May 24, 2011, at 11:42 PM, Gene Leynes wrote:

            
plot(dat, panel.first=bgfun() ) # succeeds

So the problem is not with plot.data.frame.

So someplace in the processing of dots and the handoff to

do.call(funname, c(list(mf[[i]], y, ylab = yl,  xlab = xl), dots))

... where funname = "plot", the dot identities do not get honored. The  
'plot" function is where it all started, but the first argument is now  
mf[[i]], and is that is now a numeric vector. So I think it gets  
handed off to plot.default,  which sets panel.first to NULL.