[R] Lattice: how to make x axis to appear on only one non-bottom plot?
p.murrell at auckland.ac.nz
Mon Jul 25 00:39:04 CEST 2005
Wladimir Eremeev wrote:
> Dear r-help,
> Attached is the fragment of the lattice plot, produced with xyplot
> Data were drawn for all months of a year except December.
> xyplot was called with parameters
> Because of the hole in the bottom right, caused by the absence of
> the December, right column of plots has no x axis.
> Is it possible to produce it using xyplot?
Does the following do what you want?
trellis.focus("panel", 4, 2, clip.off=TRUE, highlight=FALSE)
panel.axis("bottom", check.overlap=TRUE, outside=TRUE)
(it would be easier to help if you could provide code that others can run)
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
64 9 3737599 x85392
paul at stat.auckland.ac.nz
More information about the R-help