Skip to content
Prev 175153 / 398506 Next

Ploting a matrix

Unfortunately, I could not solve the problem of plotting all columns of 
a matrix against the first column

I used:

 b=read.table("d:\\programme\\R\\?bungen\\Block 1b.txt", header=T)

"b" is a table with the first column using  Dates and the following 
columns with vectors.

apply(b[,-1], 2, plot, x= b[,1])

Also all columns have the same length, [R] states that the length are 
different.

Can you help me?



baptiste auguie schrieb: