Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用下面的代码,我试图将 ggplot 保存为 png 文件。虽然 dpi 相当高,但保存的 png 文件甚至不可读。如下图所示,文件窗格中的导出选项提供了更好的分辨率。有没有什么办法解决这一问题?
ggsave(file="circulatory_1999_2018_55+_new.png", path = "~/Desktop/cause of death/Data Slice", width = 1200, height = 500, units = "mm", dpi=3000)