Skip to content
Prev 68855 / 398506 Next

grid and ps device (bg-color)

Hi
mkondrin wrote:
Yes, it's a bug.  Grid does not take appropriate notice of some 
important initial device settings.  A fix is on my todo list.   In the 
meantime, is the following workaround adequate (draw a filled rectangle 
much larger than the device)?

grid.rect(width=2, height=2,
           gp=gpar(fill=ps.options()$bg.color))

Paul