[R] plot graph with error bars trouble

Marcelo Laia marcelolaia at gmail.com
Fri Sep 28 19:03:57 CEST 2007


Hi,

I have a data set like this:

Mutant    Rep    Time   OD
02H02    1    0    0.029
02H02    2    0    0.029
02H02    3    0    0.023
02H02    1    8    0.655
02H02    2    8    0.615
02H02    3    8    0.557
02H02    1    12    1.776
02H02    2    12     1.859
02H02    3    12    1.668
02H02    1    16    3.379
02H02    2    16    3.726
02H02    3    16    3.367
306    1    0    0.033
306    2    0    0.035
306    3    0    0.034
306    1    8     0.377
306    2    8    0.488
306    3    8    0.409
306    1    12    1.106
306    2    12    1.348
306    3    12    1.246
306    1    16    2.706
306    2    16    3.073
306    3    16    3.038

I need to plot a graph OD over the time for each one mutant with error bars.

I try the package sciplot, but this package is set up to handle
factorial treatments, so the spacing in x-axis is fixed to be equal.
Than, with it I got something like this:

|
|
|
|
|
+-----------------------------
0        8          12          16

But, I would like spacing between 0 and 8 2-fold the spacign between 8
and 12, like this:

|
|
|
|
|
+--------------------------------------
0        4          8          12          16

Could you point me out another way to do this with out using sciplot?
Any suggestion is very appreciated.

In advance, I doesn't have a good knowledge about R language.

Thank you very much

-- 
Marcelo Luiz de Laia



More information about the R-help mailing list