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)

errbar(x.val, co2tm3.month.mean, co2tm3.month.mean + co2sd.tm3,
co2tm3.month.mean - co2sd.tm3, xaxt='n', col=2, xlab=NA,ylab=NA)# model
error bar
lines(x.val, co2tm3.month.mean, col=2, lwd=2)

Above code replaces first error bar and its line with second. Kindly help,
how to use 'points' function here so both above can get over ploted

Thanks,
Regards,
Yogesh

Best Regards,
Yogesh

	[[alternative HTML version deleted]]

