[S] trellis graphics problem resolved: print!

Matthew Wiener (mcw@ln.nimh.nih.gov)
Thu, 15 Oct 1998 13:34:34 -0400 (EDT)


I received lots of replies to my original trellis question. In brief,
I wanted to know why xyplot wouldn't work inside a function of mine.
The answer is that trellis graphics returns a trellis object, but does not
necessarily print it. From the command line, printing is automatic, but
from within a function it's not.

Replacing "xyplot(...)" with "print(xyplot(...))" does the trick.

Thanks to: A. Krause, R. Lancelot, L. Clark, S. Buttrey, D. Bates, B.
Dunlap, and A. Sinclair.

Matt Wiener

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news