Hi!
grid.rect(width=2, height=2,
gp=gpar(fill=ps.options()$bg.color))
Yes, it works (more or less), but the best is to use
grid.rect(width=unit(1,npc)+unit(0.5,inches),...)
as postscript device leaves a 0.25-inch frame around the page.
BTW wouldn't you fix a bug with the determination
Hi
mkondrin wrote:
Hi!
grid.rect(width=2, height=2,
gp=gpar(fill=ps.options()$bg.color))
Yes, it works (more or less), but the best is to use
grid.rect(width=unit(1,npc)+unit(0.5,inches),...)
as postscript device leaves a 0.25-inch frame around the page.
BTW wouldn't you fix a bug with
Hello!
Is it a bug or something?
When I try to draw a grid-graphics on ps output background color is
always transparent (with standard plot(...) this is not the case - the
background is filled with ps.options()$bg color). What's wrong? Drawing
a background grid.rect does not help - there is
Hi
mkondrin wrote:
Hello!
Is it a bug or something?
When I try to draw a grid-graphics on ps output background color is
always transparent (with standard plot(...) this is not the case - the
background is filled with ps.options()$bg color). What's wrong? Drawing
a background grid.rect does