[R] bitmap patterns in R fill

Greg Snow Greg.Snow at intermountainmail.org
Tue Oct 30 20:50:25 CET 2007

There was a thread a couple of months back on filling a curve with a
color gradient, you could apply those same techniques with a bitmap
pattern (some adjustments may be necessary).

Or this may be something better suited to an outside program like gimp
or imagemagick.

You should also ask yourself why you want to do this, filling
curves/polygons with other than solid colors (and even sometimes with
solid colors) can create various illusions and end up distorting rather
than enhancing graphs.

Hope this helps,

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at intermountainmail.org
(801) 408-8111

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of Jonathan Lees
> Sent: Tuesday, October 30, 2007 8:41 AM
> To: r-help at r-project.org
> Subject: [R] bitmap patterns in R fill
> Is there a way in R to specify a bitmap pattern and have it 
> fill a region or polygon?
> This feature is available in many MAC programs and Adobe 
> illustrator, and I know how to do this programming in 
> postscript, But I can't find anything in the documentation 
> relating how to do this in R.
> Thanks,
> Jonathan Lees
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list