[R] rectangles without borders

Tamas Papp tpapp at axelero.hu
Fri Apr 9 19:42:27 CEST 2004


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?



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

More information about the R-help mailing list