Waichler, Scott R
2004-Dec-16 18:57 UTC
[R] Unsightly lines from x*y grid in levelplot with Postscript
When I generate levelplot figures with Postscript, the lines from the underlying grid (i.e., the x and y in z ~ x* y) show up as faint white lines in the output. If I have a dense grid, the lines wash out the contour colors. I can avoid the problem if I use png instead, but that brings up other problems. Any ideas for how I can get Postscript to not show those lines around the cells? Scott Scott Waichler, Senior Research Scientist Pacific Northwest National Laboratory MSIN K9-36 P.O. Box 999 Richland, WA 99352 USA 509-372-4423 (voice) 509-372-6089 (fax) scott.waichler at pnl.gov http://hydrology.pnl.gov
Deepayan Sarkar
2004-Dec-16 19:38 UTC
[R] Unsightly lines from x*y grid in levelplot with Postscript
On Thursday 16 December 2004 12:57, Waichler, Scott R wrote:> When I generate levelplot figures with Postscript, the lines from > the underlying grid (i.e., the x and y in z ~ x* y) > show up as faint white lines in the output. If I have a dense grid, > the lines wash out the contour colors. I can avoid the problem if > I use png instead, but that brings up other problems. Any > ideas for how I can get Postscript to not show those lines around > the cells?I'm not sure what you mean. Could you send me an example (off-list)? One typical problem with gv is that some artifacts show up (which may not be what you describe) when the display is anti-aliased. Try turning that off (by pressing 'a') and see if that improves the display. Deepayan
Paul Murrell
2004-Dec-16 19:40 UTC
[R] Unsightly lines from x*y grid in levelplot with Postscript
Hi Waichler, Scott R wrote:> When I generate levelplot figures with Postscript, the lines from > the underlying grid (i.e., the x and y in z ~ x* y) > show up as faint white lines in the output. If I have a dense grid, > the lines wash out the contour colors. I can avoid the problem if > I use png instead, but that brings up other problems. Any > ideas for how I can get Postscript to not show those lines around > the cells?I think it's ghostview (or whatever viewer you're using) that's showing the lines (not postscript). You don't get the lines when you print do you? Try turning off antialiasing. If you produce PDF, it's possible to just turn off antialiasing for "line art", so the text doesn't go chunky. Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/