[R] Detailed legend in mathplot ...

2007-03-21 Thread Petar Milin
Hello, Recently, I have asked for a help with building graphs, and I got few great advices. Now, my appetite is growing :) and I wander how to add legend for two (or more) lines in following example: matplot(DAT[, c(3,4)], type=b, ylim=c(0,8), xaxt=n, yaxt=n, + pch=c(21,22), col=black,

Re: [R] Detailed legend in mathplot ...

2007-03-21 Thread Uwe Ligges
Petar Milin wrote: Hello, Recently, I have asked for a help with building graphs, and I got few great advices. Now, my appetite is growing :) and I wander how to add legend for two (or more) lines in following example: matplot(DAT[, c(3,4)], type=b, ylim=c(0,8), xaxt=n, yaxt=n, +

Re: [R] Detailed legend in mathplot ...

2007-03-21 Thread Petar Milin
You are absolutely right, and I apologize. Here is the data.frame: no day concentrated distributed 1 4 7 6.8 2 5 3 6 3 6 2.3 5.65 4 7 1.6 5.30 9 8 0.9 4.95 And then, if DAT = data.frame, mathplot() should do the job. Thank you in advance, Petar On Wed, 2007-03-21 at 09:37 +0100, Uwe Ligges

Re: [R] Detailed legend in mathplot ...

2007-03-21 Thread Uwe Ligges
Petar Milin wrote: You are absolutely right, and I apologize. Here is the data.frame: no day concentrated distributed 1 4 7 6.8 2 5 3 6 3 6 2.3 5.65 4 7 1.6 5.30 9 8 0.9 4.95 And then, if DAT = data.frame, mathplot() should do the job. So what is the problem with creating the legend?

Re: [R] Detailed legend in mathplot ...

2007-03-21 Thread Petr Pikal
@stat.math.ethz.ch Organization: Department of Psychology, University of Novi Sad, Serbia Date sent: Wed, 21 Mar 2007 08:38:25 +0100 Subject:[R] Detailed legend in mathplot ... Hello, Recently, I have asked for a help with building graphs, and I got few great