My dataset is as follows:
G R Y
1 1 0
1 2 1
1 3 2
1 4 4
1 5 2
2 1 1
2 2 2
2 3 3
2 4 2
3 1 0
3 2 1
3 3 2
3 4 2
3 5 3
I want to know how to write the correct matplotlib code to plot the points as follows:
My dataset is as follows:
I want to know how to write the correct matplotlib code to plot the points as follows: |
|||||||||
|
You could just split up your data according to the three sections you have, graph each group separately, and then attach the graphs together:
That will get you pretty close to what you need (though I admit some of the the x-axes could use a little extra formatting): If I were you I would enter that line by line, hitting |
|||||
|