search for: xy_ggsave

Displaying 1 result from an estimated 1 matches for "xy_ggsave".

2009 Aug 20
1
ggsave to .png bug in ggplot2 (?)
...Here's the example. require(ggplot2) x <- data.frame(value=rnorm(5000, mean=0), case="A") y <- data.frame(value=rnorm(5000, mean=3), case="B") xy <- rbind(x, y) p <- ggplot(xy, aes(x=value, colour=case, group=case)) + geom_density() p ggsave(p, filename = "xy_ggsave.png") dev.print(device=png, width=600, height=600, file="xy_devprint.png") ggsave(p, filename = "xy_ggsave.pdf") dev.print(device=pdf, file="xy_devprint.pdf") -- View this message in context: http://www.nabble.com/ggsave-to-.png-bug-in-ggplot2-%28-%29-tp2505...