0

Let's say I have six dots:

 x_11, x_12, x_13, x_21, x_22, x_23.

I want to draw lines that connect x_11 with x_12 and x_13, but not a line between x_12 and x_13.

After that, I want to do the same thing to x_21, x_22, and x_33.

That is, I want to connect x_21 with x_22 and x_23, but not x_22 and x_23.

I tried the group method (adding the group attribute in aes) but it connects all three dots.

Is there a way to conveniently solve the problem?

pcs
  • 1,864
  • 4
  • 25
  • 49
user1691278
  • 1,751
  • 1
  • 15
  • 20
  • 1
    What exactly did you try? Please share your code and sample input data to make a [reproducible example](http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) – MrFlick May 21 '15 at 05:02
  • The group method works fine if you do it right. If you share code and data we can tell you what you're doing wrong. – Gregor Thomas May 21 '15 at 07:03

0 Answers0