I am a beginner with Python, Pandas and Matplotlib. I would like to customize the entries at the axes of a scatter plot. I have the following data:
So on the x-axis there should be 5 entries, with the first one being w1=1.0, w2=0.0. The 1 and 2 should be subscipts and w1 and w2 should be beneath each other, like you can see in the screenshot. Is there a way how to do this with pandas and matplotlib?
Here is the data (without the correspoding weight, you can see them in the screenshot):
Method 1 31.7 32.9 33.7 34.4 35.2
Method 2 44.2 45.4 46.9 48.9 45.5
Method 3 75.6 72.2 69.2 67.4 63.6
Method 4 87.5 83.2 79.5 77.8 72.2
Method 5 88.6 84.1 80.7 79.6 74.5
Method 6 100.0 100.0 100.0 100.0 100.0
The diagramm should look similar to this one, except that the description on the x-axis should be as I wrote above (instead of 1,2,3... to have w1=1.0, w2 =0.0, w1 =0.75, w2=0.25...)
EDIT: Here is the figure after applying the code of "Ignoring_Gravity". The are two things wrong. First, the order of the w on the x-axis (is supposed to start from w1=1, w1=0.75, ... , w1=0). Secondly, the points are on the wrong horizontal position. They should be right above the corresponding entries at the x-axis.