s-news
[Top] [All Lists]

[S] moving Trellis axis labels closer

To: s-news@wubios.wustl.edu (S-Plus list)
Subject: [S] moving Trellis axis labels closer
From: Lutz Prechelt <prechelt@ira.uka.de>
Date: Thu, 20 Aug 1998 13:08:43 +0200
Sender: owner-s-news@wubios.wustl.edu
Hi all,

for S-Plus 3.4. on Unix:

I want to move the x and y labels on an xyplot (containing
but a single panel) closer to their axes than the default.

Unfortunately, setting  par(mgp=c(1.5, 0.5, 0))  does not
seem to change anything.
xyplot also won't accept  mgp=c(1.5, 0.5, 0)  as an argument

1. How can I achieve the move?
2. Does anybody have code that chooses nice values for
   mgp _automatically_ (depending on how much space is required
   for the tick labels) and also sets  mar  accordingly?
   S-Plus really ought to have such a thing; the fine-tuning
   of figures always costs an awful lot of time.

Please reply to me directly, I'll summarize to the group.

Thanks in advance

  Lutz

Lutz Prechelt  http://wwwipd.ira.uka.de/~prechelt/   | Whenever you 
Institut f. Programmstrukturen und Datenorganisation | complicate things,
Universitaet Karlsruhe;  D-76128 Karlsruhe;  Germany | they get
(Phone: +49/721/608-4068, FAX: +49/721/608-7343)     | less simple.
>>> Ever had negative research results?  http://wwwipd.ira.uka.de/fnr <<<


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

<Prev in Thread] Current Thread [Next in Thread>
  • [S] moving Trellis axis labels closer, Lutz Prechelt <=