传统文化手抄报内容>谁温酒斩华雄
R⼀页多图:mfrow⽤法举例⼀页多图,⾸先设定par(),
五年级上册课本例如 par(mfrow=c(2,3)) ⼀个图版显⽰2⾏,3列。12530彩铃
之后按照常规作图就可以了。
如果在原有的图形上添加新的内容,如果⽤plot(),则可以选 plot(x, add=TRUE)
另外,低⽔平的绘图函数可以直接在图形上添加元素,如 points(), lines(),等等
-----------------------------------------------------
par(mfrow=c(4,2))赫尔巴特
x<-q(1:10)y1<-rnorm(10)
y2<-rnorm(10,mean=2,sd=1)
y3<-rnorm(10,mean=3,sd=1)
y4<-rnorm(10,mean=4,sd=1)
y5<-rnorm(10,mean=5,sd=1)
上海的小吃y6<-rnorm(10,mean=6,sd=1)
y7<-rnorm(10,mean=7,sd=1)
y8<-rnorm(10,mean=8,sd=1)
plot(x,y1,type='o', lty=1, main="I want this title is to be scaled down(resized)", cex.main = 0.3) plot(x,y2,type='o', lty=2, main="I want this title is to be scaled down(resized)", cex = 0.1)
plot(x,y3,type='o', lty=3, main="I want this title is to be scaled down(resized)", cex.axis = 0.1) plot(x,y4,type='o', lty=4, main="I want this title is to be scaled down(resized)")
六经皆史plot(x,y5,type='o', lty=5, main="I want this title is to be scaled down(resized)")
游园活动方案plot(x,y6,type='o', lty=6, main="I want this title is to be scaled down(resized)")
plot(x,y7,type='o', lty=7, main="I want this title is to be scaled down(resized)")
plot(x,y8,type='o', lty=8, main="I want this title is to be scaled down(resized)")