[R] question about R graphics-example plot attached

jia ding dingjia at gmail.com
Tue Nov 8 14:08:15 CET 2005


---------- Forwarded message ----------
From: jia ding <dingjia at gmail.com>
Date: Nov 2, 2005 4:03 PM
Subject: question about R graphics-example plot attached
To: r-help at lists.r-project.org

Suppose I have the data set like this:
A 1
3
7
10

B 5
9
13
The numbers here actually is A or B's occurence positions.So it means,
position 1,3,7,10 is A;position 5,9,13 is B's occurence.

I want the plot is a line with a little dot (or bar) at the position
1(A-show red), position 3(A-red),position
5(B-blue),7(A-red),10(A-red),13(B-blue)

I am not sure, If I explained very clearly about my question. What a
pity google group not support to attach a file. Otherwise,I can provide
an example.

Thanks for the help!
Thanks Marc.
 DJ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.png
Type: image/png
Size: 1605 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20051108/5d290440/output.png


More information about the R-help mailing list