Displaying 1 result from an estimated 1 matches for "co2tm3".
2010 Jun 05
2
how to use 'points' function to plot two curves with errbar
...indows.
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...