[19097] in s-news-athena

home help back first fref pref prev next nref lref last post

RE: [S] SP2000, Trellis, and scripts

daemon@ATHENA.MIT.EDU (Prof Brian D Ripley)
Thu Sep 2 14:12:34 1999

Date: Thu, 2 Sep 1999 19:04:09 +0100 (BST)
From: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
To: Rick Ditmars <rditmars@geomega.com>
Cc: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
In-Reply-To: <01BEF522.8EC9B6F0.rditmars@geomega.com>
Message-Id: <Pine.GSO.4.05.9909021855030.18155-100000@auk.stats>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Thu, 2 Sep 1999, Rick Ditmars wrote:

> Thank you, Prof. Ripley, for your quick response.  Adding print functions 
> solved the problem.  As for my color selection, hard copy is on white 
> background, tmp.sym makes other changes to default symbols and colors (see 
> below), and I am afraid that "Uncle Boss" over-rules "Uncle Bill" on such 
> issues! ;)

Ah, but it seems you actually want this on paper, not on screen, so you
might want to try a win.printer not graphsheet colour scheme for trellis.
If you use trellis.device("win.printer"), you will use

                        device.call$background.color <- "Bright White"

(see trellis.device). It helps to get into Trellis's broader mindset.

> "Completions" only has two levels so I only modified the first two 
> defaults. I increased the size of the symbols because ultimately the 
> histograms and strip plots will be stacked on one page (portrait) and with 
> the reduction the default size is too small.  By the way, the combination 
> is being accomplished by exporting to .wmf and handing over to our talented 
> graphics artists who use Adobe Illustrator to combine the plots on one 
> page, align the x-axes of the two plots, and make other prettifications. I 
> have been able to do things like align axes with traditional graphics by 
> tweeking various par() settings, but have not discovered how to do this 
> with trellis graphics.  If this can be accomplished with trellis graphs, it 
> would remove one more burden off of the graphics staff.

Can you tell us what you mean by align? You might want to use
relation="same" in a scales argument  to your Trellis calls. See
?trellis.args.  I suspect you also want to set the device sizes in the
trellis.device calls.

After a lot of reluctance when it first came out, I learnt how to work
with Trellis not against it, but the information is not easy to find.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-----------------------------------------------------------------------
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

home help back first fref pref prev next nref lref last post