r-lib / svglite

A lightweight svg graphics device for R
https://svglite.r-lib.org
180 stars 39 forks source link

long numbers on y-axis overlap with ticks #48

Closed Lompik closed 8 years ago

Lompik commented 8 years ago

reproducible example :

library(svglite)
library(ggplot2)
a = data.frame(x=runif(1000,0,10), y= rnorm(1000,10,5)*1000)
svglite("test1.svg", width = 8, height = 10,bg="white")
ggplot(a,aes(x=x,y=y))+geom_line()
dev.off()

output :

2015-12-11-12 55 05_126x411 3328 347

hadley commented 8 years ago

Probably an instance of #45