Deepayan, Oopps! You are correct. I read that entire entry (quite long) several times and somehow missed it. I guess I have the bad habit of going straight to the examples to better understand how the code works, and there are no examples that wrap print calls around the plots. Regardless, with it shown in 2 locations, clearly I was off my rocker...
Mike On Mon, Jan 5, 2009 at 5:08 PM, Deepayan Sarkar <deepayan.sar...@gmail.com>wrote: > On Mon, Jan 5, 2009 at 4:57 PM, Mike Williamson <this.is....@gmail.com> > wrote: > > Greg, others, > > > > Thanks for the info! I suspect you are right, Greg. > > > > The main issue, as Sundar Dorai-Raj (who posts here at times) told me > in > > person and you say indirectly below, is that the "levelplot" function > > returns an object and not a graph. I didn't really know what that > *meant*, > > even though I'd read it, until he explained it to me. In short, it means > > that if you want levelplot to plot as usual, you need to wrap it in a > print > > statement (same as you're saying below). I think this is hidden > somewhere > > in the FAQ's, but it still isn't obvious and it'd be great if this were > > added directly in the ?levelplot help menu. > > For the record, ?levelplot does say: > > Value: > > An object of class '"trellis"'. The 'update' method can be used to > update components of the object and the 'print' method (usually > called by default) will plot it on an appropriate plotting device. > > and ?Lattice explains this in more detail. > > -Deepayan > -- The official inflation rate in Zimbabwe has soared to about 231 million percent while thousands of Zimbabweans stand in line for their daily allowance of about 2 cents a day -- from their own bank accounts. The allowance does not afford them a half loaf of bread. [[alternative HTML version deleted]] ______________________________________________ R-help@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.