如何在 JPEG 檔案中匯出 3543 像素(意思是:DPI 解析度 1000 和 90 毫米寬)的 ggplot?
我使用了這段代碼,但在我的情況下它不起作用:
jpeg(file="Traject_1.jpg", res=3543, width=9, pointsize=7, type="windows", antialias="cleartype")
uj5u.com熱心網友回復:
您可以使用ggsave:
ggsave("Traject_1.jpg", plot = yourplotname, device = "jpeg", width = 90, units = "mm", dpi = 1000)
檔案在這里。
(注意:1000 dpi 超高!)
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/493132.html
