s*********x 发帖数: 1923 | 1 Hi, guys, hope you can help me out.
So I have two set of data and want to plot them in the same figure, maybe
with different color.
what I am doing right now is : plot( A~ B), but when I submit plot( C~B). R
will replace the A~B figure. Is
there anyway we can put all the points in the same figure?
Thanks! | l*****g 发帖数: 547 | 2 why not save it and use matlab?
R
【在 s*********x 的大作中提到】 : Hi, guys, hope you can help me out. : So I have two set of data and want to plot them in the same figure, maybe : with different color. : what I am doing right now is : plot( A~ B), but when I submit plot( C~B). R : will replace the A~B figure. Is : there anyway we can put all the points in the same figure? : Thanks!
| p****o 发帖数: 1340 | 3 AC = c(A,C)
BB = c(B,B)
plot(AC ~ BB)
R
【在 s*********x 的大作中提到】 : Hi, guys, hope you can help me out. : So I have two set of data and want to plot them in the same figure, maybe : with different color. : what I am doing right now is : plot( A~ B), but when I submit plot( C~B). R : will replace the A~B figure. Is : there anyway we can put all the points in the same figure? : Thanks!
| o**o 发帖数: 3964 | 4 plot之后,用lines()或者points()修饰这个图。都是manual上的,实在太弱了。。
【在 p****o 的大作中提到】 : AC = c(A,C) : BB = c(B,B) : plot(AC ~ BB) : : R
| m********r 发帖数: 13 | 5 matplot(B,cbind(A,C),type="l") |
|