[R] Filling graphic objects

p.b.pynsent p.b.pynsent at bham.ac.uk
Wed Mar 12 11:54:13 CET 2003


I have used polygon() to mark the confidence limits of a survival curve.
In another project, I have used the col parameter to fill my boxplots.

The poly() description refers to  filling but actually produces 
hatching (i.e. lines ).
boxplot() does truly fill the boxes with a colour or shades of grey 
(e.g. col="red").

My novices perception of R graphics is:
If you can hatch it, you cannot fill it.
If you can fill it you cannot hatch it.

Is this correct or is there  a way of hatching my boxplots and filling 
my polygons?

Paul



More information about the R-help mailing list