s-news
[Top] [All Lists]

Re: xyplot with square boxes

To: David Parkhurst <parkhurs@imap.iu.edu>
Subject: Re: xyplot with square boxes
From: Sundar Dorai-Raj <sundar.dorai-raj@pdf.com>
Date: Thu, 15 Mar 2007 18:05:20 -0700
Cc: s-news@wubios.wustl.edu
In-reply-to: <45F9E4E6.3010800@imap.iu.edu>
Organization: PDF Solutions, Inc.
References: <45F9E4E6.3010800@imap.iu.edu>
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Use the pch parameter. I think pch = 0 will produce boxes, at least on Windows S-PLUS 6.2.

xy <- data.frame(x = 1:10, y = 1:10)
trellis.device(color.scheme = "standard")
xyplot(y ~ x, xy, pch = 0, cex = 2)

HTH,

--sundar

David Parkhurst said the following on 3/15/2007 5:29 PM:
How do I make the boxes square in

xyplot(y ~ x | A*B, data=stuff)  ?

I've tried everything I can find in ?par, with no luck.

Thanks.

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

<Prev in Thread] Current Thread [Next in Thread>