library(lattice)
xyplot(1~1)
zoom(xyplot(1~1))
zoom(xyplot(1~1), size=1.2)
zoom(xyplot(1~1), axis=0.8)
zoom(xyplot(1~1), axis=NULL)
if (FALSE) {
taf.png("myplot")
plot(1)
dev.off()
taf.png("mytrellis")
xyplot(1~1)
dev.off()
taf.png("mytrellis_zoom")
zoom(xyplot(1~1))
dev.off()
}
Run the code above in your browser using DataLab