Displaying 1 result from an estimated 1 matches for "fzbjoxm".
2013 Oct 21
2
png(type='cairo'): point symbols without boarders are not anti-aliased?
Hi,
It seems that anti-aliasing in png(type = 'cairo') is not well
supported for the point symbols without boarders, e.g. pch = 16. The
Cairo package works well, though. You can compare png() with
CairoPNG():
png(): http://i.imgur.com/8niB3jX.png
CairoPNG(): http://i.imgur.com/FZBJOxm.png
f = function(dev, ..., main = '') {
dev(...)
plot(c(1, 2, 1, 2), c(1, 1, 2, 2), pch=c(16, 19), cex=c(2, 2, 15, 15),
xlim=c(0.5, 2.5), ylim=c(0.5, 3), main = deparse(substitute(dev)))
dev.off()
}
f(grDevices::png, 'png-base.png', type = 'cairo')
f(Cairo::Cai...