Displaying 1 result from an estimated 1 matches for "testband".
Did you mean:
testbank
2010 Mar 06
0
thin grid lines, again (FAQ 7.36), a proposal
...this problem.
After some experimentation, I found that I could fix the problem in a pdf file
generated in R using the pdf graphics device by running the file
through a filter.
Here is a short R example that produces the lines if your
anti-aliasing setting
is set (in)appropriately:
pdf("TestBand.pdf")
n <- 16
x <- y <- seq(1, n)
z <- matrix(1, n, n)
z[, 7:10] <- 0.5
z[, c(5, 12)] <- 0
cc <- seq(0, 1, len = 256)
image(z, col = grey(cc), axes = FALSE)
dev.off()
and afterwards I corrected the file with the following awk filter
#FixLines.awk
{
if ($NF == "rg&qu...