search for: paneltransp

Displaying 1 result from an estimated 1 matches for "paneltransp".

2007 Mar 26
1
using alpha transparency for lines in levelplot
...panel.contourplot(...); panel.xyplot(1:60, runif(60, 1, 60), type = "l", lwd = 3, col = grey(0.3)) } ## this works fine pdf("plot.pdf", version = "1.4") levelplot(z~x+y, xy, panel = my.panel) dev.off() ## panel function to add lines with grey transparency my.paneltransp <- function(...) { panel.contourplot(...); panel.xyplot(1:60, runif(60, 1, 60), type = "l", lwd = 3, col = rgb(0.3, 0.3, 0.3, 0.5)) } ## this results in grey bleeding on the coloured regions of the plot pdf("alpha.pdf", version = "1.4") levelplot(z~x+y, xy...