On Fri, Sep 16, 2011 at 07:02, Tom Sparks <tom_a_sparks@...1402...> wrote:
----- Original Message ----- [...] the image at http://en.wikipedia.org/wiki/Hatching or do an image search for "cross hatching"
OK, I understand. There are two answers that spring my mind: - no, R doesn't do that by default - yes, it would be possible to obtain cross-hatching, with a little bit of programming effort.
R can process images (I think there is a special package for doing that, if I am not mistaken); as a first rough idea, once an image is processed, one could take for example the code for producing contour plots and adapt it for obtaining cross-hatching. As far as I understand this technique, the thickness of the hatching and its spacing will create an illusion of a volume, which is exactly what a contour does: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=22
The contour plot has further extensions like: - topographic maps: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=11
- perspective plots http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=26
- or even 3D perspective plots: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=27
Finally, what is closest to the result desired might be something like this: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=118
I hope this helps, Adrian