inst/examples/sunspots-asp.R

# 不同纵横比设置下的太阳黑子时序图
layout(matrix(1:2, 2), heights = c(2, 1))
par(mar = c(4, 4, 0.1, 0.1))
plot(sunspots, xlab = "年份", ylab = "太阳黑子")
plot(sunspots, xlab = "年份", ylab = "太阳黑子", asp = .1)
yihui/MSG documentation built on Aug. 16, 2021, 12:13 p.m.