Hi everyone!

I have difficulties solving a plot issue:

I have these two datas in an array: np.array([Q-value, length])

Q-value......length

A.................60

B.................40

C.................90

B................150

C................230

A................220

I want to plot these like:

Q-value..........total length

A...................280

B...................190

C...................230

Though it seems easy above my "real" array contains a lot more values.

Thankful for any help!