2019-12-17 Resizing plots in the

2019-12-17  本文已影响0人  SYNAPSE_1576

library(repr)

#Change plot size to 4 x 3

options(repr.plot.width=4,repr.plot.height=3)

curve(sin(x),from=0,to=2*pi,n=100)

#Change plot size to 8 x 3

options(repr.plot.width=8,repr.plot.height=3)

curve(sin(x),from=0,to=4*pi,n=200)

上一篇 下一篇

猜你喜欢

热点阅读