2017-08-03 29 views
0

我在rstudio中繪圖,無法看到繪圖中的數字,然後我下載爲更大的尺寸。
無論是png還是jpeg格式,即使尺寸爲2048像素,仍然無法讀取繪圖中的數字。
you can download this image to see如何通過rstudio下載清除圖?

如何解決這個問題?

+0

怎麼樣'svg'格式?這是矢量,並且允許更好地放大,至少。如果你提供了一些代碼,雖然更好。有人可以知道如何增加字體大小等等。 –

回答

0

RStudio已知尺寸問題,保存繪製在「圖」窗口中的圖片。我會做的是直接在代碼中保存圖片。

Refer to this SO question

總之,你可以做的是:

png(filename = pathToYourOutputPNG) # create a png device 
plot() # write your plotting functions here 
dev.off() # close the device