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
[EMAIL PROTECTED]
(801) 408-8111
 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Lees
> Sent: Tuesday, October 30, 2007 8:41 AM
> To: r-help@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@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.
> 

______________________________________________
R-help@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.

Reply via email to