I am trying to plot a graph which has two y-axes and one x-axis.
Consider three variables A,B,C. My first data set G1, has values of A and B. While getting this dataset in the script I kept C constant. In second dataset G2, I have B and C and was generated for some fixed value of A.
Now I am plotting this with matplotlib.pyplot
.
My question is if I keep Y1=A, X=B, Y2=C and plot this data. It comes out to be weird looking which I think is because for G1, C has only one value and for G2 A has only one value. I get two different lines in the final graph and I do not understand what this graph is showing?
To me it feels that if I plot graph between A,B,C variables then it should show me the relationship between them rather than plotting two independent different lines.