Examples for 'lattice::update.trellis'


Retrieve and Update Trellis Object

Aliases: update.trellis [.trellis t.trellis trellis.last.object

Keywords: dplot

### ** Examples

spots <- by(sunspots, gl(235, 12, labels = 1749:1983), mean)
old.options <- lattice.options(save.object = TRUE)
xyplot(spots ~ 1749:1983, xlab = "", type = "l",
       scales = list(x = list(alternating = 2)),
       main = "Average Yearly Sunspots")
plot of chunk example-lattice-update.trellis-1
update(trellis.last.object(), aspect = "xy")
plot of chunk example-lattice-update.trellis-1
trellis.last.object(xlab = "Year")
plot of chunk example-lattice-update.trellis-1
lattice.options(old.options)

[Package lattice version 0.20-45 Index]