I have a dataset like this:
HR_1 HR_2 HR_3 HR_4 label
0.1 0.05 1.5 1.6 1
0.04 0.15 1.0 1.6 1
1.1 2.05 2.5 1.6 0
And I want to create parallel coordinates plot where my X axis is 1,2,3,4 and Y axis is my data. Moreover I want that the color for each line be same for all lines with the same label.
Right now I am using plotmd from EMcluster package that does what I want, but does not create a legend for the color behind the line, so I do not know to each class each color corresponds to.

plotmd- G5W