Re: [R] how to use 'points' function to plot two curves with errbar

2010-06-15 Thread David Winsemius
.d[1],b.d[1]), Type=c(1,1,1,2,2,2), xlab='', ylab='', col=1:3) Best regards, Yogesh On Sat, Jun 5, 2010 at 11:36 PM, John Kane wrote: The first thing we need to know is what "errbar" are you using? There are at least two, on in the Hmisc package an

Re: [R] how to use 'points' function to plot two curves with errbar

2010-06-15 Thread Yogesh Tiwari
gt; > > > On Sat, Jun 5, 2010 at 11:36 PM, John Kane wrote: > > The first thing we need to know is what "errbar" are you using? > > There are at least two, on in the Hmisc package and one in sfsmisc. > > > PLEASE do read the posting guide > http://www.R

Re: [R] how to use 'points' function to plot two curves with errbar

2010-06-05 Thread John Kane
m not sure what you are trying to do here but perhaps looking at "new" in ?par might hrlp you. Example: plot(1:10, col="red") par(new=TRUE) plot(10:1, col="blue") --- On Sat, 6/5/10, Yogesh Tiwari wrote: > From: Yogesh Tiwari > Subject: [R] how to u

[R] how to use 'points' function to plot two curves with errbar

2010-06-05 Thread Yogesh Tiwari
Dear R Users, I am using R on windows. how to use 'points' function to plot two curves with errbar I am doing like: x.val <- as.integer(names(co2mean)) errbar(x.val, co2mean, co2mean + co2sd, co2mean - co2sd, xaxt='n', col=1, xlab=NA,ylab=NA)# obs error bar lines(x.val, co2mean, col=1, lwd=2) e