I\'m creating a scatterplot using ggplot in R (R version 3.2.1). I want to save the graph as a tiff image in 300 DPI in order to publish it in a journal. However, my code using
A simpler way is
ggplot(data=df, aes(x=xvar, y=yvar)) + geom_point() ggsave(path = path, width = width, height = height, device='tiff', dpi=700)