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

From: Oliver M. Haynold <inquiries_at_haynold.com>
Date: Tue, 12 Aug 2008 23:18:37 -0500

On Wed, 2008-07-30 at 16:40 -0700, Deepayan Sarkar wrote:
> Does the rendering improve if you unset the "smooth line art" option
> in Acrobat's settings?

Yes, it does! Thanks.

There still is a problem, though, in that the charts so generated won't display and print well for users with the default settings on their readers.

> > The most likely reason for the problem I can think of is that the
> > triangles generated by lattice don't overlap but just border each other.
> > This might cause some renderers to leave a little space between them. If
> > this explanation is correct, a solution would be to have lattice, or
> > specifically wireframePanelCalculations, plot the triangles with a tiny
> > bit of overlap.
>
> I don't think that's going to happen.

I agree that the radical solution of forced overlap wouldn't be pretty. I still wonder if there's something one could do to fix the problem. Perhaps a hairline around each triangle (I think there's a PDF command to do outline and fill in one stroke so it wouldn't necessarily produce larger files) in the color of that triangle?

        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 Wed 13 Aug 2008 - 05:20:33 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 Wed 13 Aug 2008 - 05:33:50 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