Re: [R] How to create margin area around a graphic made by xyplot

2008-11-04 Thread Paul Murrell
Hi Dr. Alireza Zolfaghari wrote: > Hi list, > Does any body know how I can create a margin area around the graphic created > by xyplot (the same thing we do using par in plot function)? I tried > viewport, but does not work. The trick is to assign the xyplot() result and then print it explicitl

[R] How to create margin area around a graphic made by xyplot

2008-11-04 Thread Dr. Alireza Zolfaghari
Hi list, Does any body know how I can create a margin area around the graphic created by xyplot (the same thing we do using par in plot function)? I tried viewport, but does not work. Here is the code: == require(grid) vp<- viewport(x=.1,y=.1,width=.6,h