[R] rectangles without borders

Tamas Papp
Fri, 09 Apr 2004 17:42:27 -0000

Hi,

I want to draw rectangles with "rect" without borders, but with
shading (ie setting density).  ?rect says

     lty: line type for borders; defaults to '"solid"'.

but if I set it to 0, the border disappears, but the shading also
vanishes!  But the above says that lty is the line type for BORDERS,
and does not mention density at all -- how do I get around this?

Thanks,

Tamas

--
Tam??s K. Papp
E-mail: tpapp at axelero.hu
Please try to send only (latin-2) plain text, not HTML or other garbage.