[6483] in s-news-athena
Re : How to plot panels with log scale in Trellis?
daemon@ATHENA.MIT.EDU (shyu@research.att.com)
Wed Feb 22 11:54:10 1995
From: shyu@research.att.com
Date: Wed, 22 Feb 95 11:17 EST
To: S-news@utstat.toronto.edu
Dario Ringach <dario@hobson.cns.nyu.edu> wrote :
> Subject line says it all... How can I have panels with log axis
> using Trellis? (Without transforming the data...).
The current release of Trellis doesn't support log scale.
The next release of Trellis will give user much more control
over the panel axes; in addition to log axes, user will also be able to
supply custom tick labels, etc. (pretty much all the control you would
have in axis() ...). This will be done through the specification
of a "scale" argument, for example:
xyplot( ...., scale = list(x = list(
relation = "free",
log = 10,
cex = .6),
y = list(
labels = c("B", "G", "H"))))
This implies a free-scale log x-axis, and a customed labelled y-axis
for each panel. Notice you can pass graphical parameters down as well!
Ming
o=======================================================================o
| Ming-Jen Shyu (Ming) INTERNET: shyu@research.att.com |
| AT&T Bell Laboratories, Room 2C-263 UUCP: attmail!research!shyu |
| 600 Mountain Avenue office: (908) 582-6863 |
| Murray Hill, NJ 07974-2070, USA fax: (908) 582-3340 |
o=======================================================================o