Re: [R] Line chart with a double matrix

2012-07-20 Thread ramonovelar
Thanks David for the solution, I paste here the code with a few changes: par(xpd = NA, oma = c(5, 0, 0, 0)) matplot(t(buffersump[,1:6]), type="l", xaxt="n", lwd=3, ylab="Porcentajes de respuestas afirmativas") axis(1, 1:6, colnames(buffersump2)) legend("bottomright", legend=rownames(buffersump2),

Re: [R] Line chart with a double matrix

2012-07-19 Thread David L Carlson
sage- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of ramonovelar > Sent: Thursday, July 19, 2012 9:51 AM > To: r-help@r-project.org > Subject: [R] Line chart with a double matrix > > Hello, > > I have a double matrix that I want to

[R] Line chart with a double matrix

2012-07-19 Thread ramonovelar
Hello, I have a double matrix that I want to represent in a line chart. Although I have seen some examples I still don't manage to get it. My data is this (a double matrix called mymatrix) : Blogs Wikis Redes Etiq. SPC LMS Menor de 30 57.14 28.57 14.29 28.57 57.14 28.57 de 31 a 4