search for: latticeplot

Displaying 2 results from an estimated 2 matches for "latticeplot".

2006 Jul 29
3
placing rectangle behind plot
I am trying to create a lattice plot and would like to later, i.e. after the plot is drawn, add a grey rectangle behind a portion of it. The following works except that the rectrangle is on top of and obscures a portion of the chart. I also tried adding col = "transparent" to the gpar list but that did not help -- I am on windows and perhaps the windows device does not support
2004 Nov 19
0
Legend
...t;transparent" trellis.par.set("background",background) caption<-"Figure 4: Time series of sampling depths for 4VW summer surveys. Numbers\nin strip panels indicate strata locations. Closed circles represent one sampled\nstation." #function format.figure<-function(latticePlot,caption){ vp1<-viewport(x=0,y=.08,width=1,height=.8,just=c("left","bottom")) vp2<-viewport(x=0,y=0,width=1,height=.06,just=c("left","bottom")) pushViewport(vp1) print(latticePlot,newpage=F) # grid.rect() popViewport(1) pushViewport(vp2) g...