On Jun 18, 2009, at 3:10 PM, Guilhem Faure wrote:

Hello,

I would like to build rectangles in a plot and use color and different type of hatching for filling rectangles. I don't find the way to draw hatchings. I'm thinking to build segment by segment inside each rectangle but I'm sure that exists a better way to do that. I didn't find any documentation about
that.

symbols(1,1,rectangles=cbind(1,1),bg="red", ... ) # Does it exist an
argument to fill symbols in hatching or regular point or plus ... ?

style does not work, density too...

I could not find it looking through the help pages and links, either, but try:

 rect(.8,.8,1,1, col=grey(.2), density=20, angle=45)


Does anyone know a solution to do that ?

Thank you for your answer,

Guilhem

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
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