[R] Lattice wireframe: How to avoid drawing lines around polygons when using shade=TRUE

From: Oliver M. Haynold <inquiries_at_haynold.com>
Date: Sun, 27 Jul 2008 05:00:48 +0000 (UTC)


I am using wireframe from the lattice package, with the shade option set to TRUE. When I output to PDF or Postscript, a line gets drawn around each polygon of my surface which causes ugly Moiré effects and doesn't make sense in my application (think the plot of Maunga Whau--gridlines don't make sense). This does not happen when I display on the screen-- then I just get the surface as intended.

I have tried everything from playing with trellis.par.set() to changing the code of panel.3dwire, but nothing seems to remove these gridlines. Any idea would be greatly appreciated.

Best,

        Oliver



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. Received on Sun 27 Jul 2008 - 05:07:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Jul 2008 - 09:32:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive