回复 第3楼 的 yimengchangh:
做到是可以做到,但
hist 叠加在一块会不会 很乱啊?
<br />
a=c(1,2,2,3,2,1,3,5,7,5,3,2)<br />
b=c(2,2,1,2,4,6,7,4,3,7,10)<br />
c=c(2,2,4,1,3,4,2,4,2)</p>
<p>hist(a, plot=F)->inter.a<br />
hist(b, plot=F)->inter.b<br />
hist(c, plot=F)->inter.c</p>
<p>plot(inter.a)<br />
graphics:::plot.histogram(inter.b, add=T,col="red")<br />
graphics:::plot.histogram(inter.c, add=T,col="yellow")</p>
<p>
</p>