Re: [R] RES: Multiple XY Lines Plot

2008-11-11 Thread Philipp Pagel
> # prepare some example data > x <- 1:25 > df <- data.frame(w1=x, w2=x+0.5, h1=x^2, h2=3*x+1.3) > > # use matplot to graph all data at once > matplot(df[,c('w1','w2')], df[,c('h1','h2')], type='l', lty=c('solid', > 'dotted')) Oh - and matplot uses different line types anyway, so specifying lty

Re: [R] RES: Multiple XY Lines Plot

2008-11-11 Thread Philipp Pagel
On Tue, Nov 11, 2008 at 05:11:05PM -0200, Rodrigo Aluizio wrote: > Philipp you actually solved my problem when you mentioned matplot function. > I hadn't read anything about it before, when you mentioned I searched and > I'm getting what I need, now it's just a question of minor adjustments. > > B

[R] RES: Multiple XY Lines Plot

2008-11-11 Thread Rodrigo Aluizio
Philipp you actually solved my problem when you mentioned matplot function. I hadn't read anything about it before, when you mentioned I searched and I'm getting what I need, now it's just a question of minor adjustments. Below is a simple solution that I will now improve. matplot(Perfil$3.W,Perf