The person who added shading did not update the help page for rect ....

Try border=FALSE (and look at ?polygon for more details as to why).


On Fri, 9 Apr 2004, Tamas Papp wrote:

> 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
> 
> 

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to