我已经陷入了问题:我需要绘制DPI = 1200和特定打印尺寸的图像.
默认情况下,png看起来不错......

png("test.png",width=3.25,height=3.25,units="in",res=1200)
par(mar=c(5,5,2,2),xaxs = "i",yaxs = "i",cex.axis=1.3,cex.lab=1.4)
plot(perf,avg="vertical",spread.estimate="stddev",col="black",lty=3, lwd=3)
dev.off()
Run Code Online (Sandbox Code Playgroud)
但是当我应用这个代码时,图像变得非常糟糕,它不能缩放(适合)所需的大小.我错过了什么?如何将图像"拟合"到情节中?
,