Philip.Coryell
2011-Jun-09 13:58 UTC
[R] Help creating a scatterplot with errorbars using gplot
I am having a problem creating a scatterplot with error bars using gplot. This is only my second day using R so I am very much a newbie. My x-values (OD600) are: 0.00400000 0.01866667 0.04733333 0.08733333 0.22466667 0.42400000 0.82066667 1.39233333 1.61100000 My y-values (cellconc) are: 2e+06 5e+06 1e+07 2e+07 5e+07 1e+08 2e+08 5e+08 1e+09 And my standard deviations (stdev) are: 0.001154701 0.003000000 0.002081666 0.009865766 0.015716234 0.040253364 0.017691806 0.013868429 0.007234178 I use the command: plotCI(OD600, cellconc, uiw=stdev) And I receive a graph that looks correct but without any error bars. I also receive these warnings: 1: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 2: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 3: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 4: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 5: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 6: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 7: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 8: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 9: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 10: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 11: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 12: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 13: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 14: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 15: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 16: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 17: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped 18: In arrows(...) : zero-length arrow is of indeterminate angle and so skipped Thank you for your help. [[alternative HTML version deleted]]