Displaying 1 result from an estimated 1 matches for "tpar2".
Did you mean:
par2
2006 Nov 06
1
line width (all elements) in Trellis
...ith a barchart() example is below. Any advice would be greatly
appreciated.
Thanks for your time,
Dan
note: I am using R 2.4.0 on a windows platform.
windows(width=6, height=4, record=TRUE)
tpar1=trellis.par.get("add.line")
tpar1$lwd=2
trellis.par.set("add.line", tpar1)
tpar2=trellis.par.get("plot.polygon")
tpar2$lwd=2
trellis.par.set("plot.polygon", tpar2)
tpar3=trellis.par.get("plot.line")
tpar3$lwd=2
trellis.par.set("plot.line", tpar3)
tpar4=trellis.par.get("superpose.polygon")
tpar4$lwd=c(rep(2,7))
trellis.par.set(...