I am using the same line of codes for plotting a graph but I am getting a different pattern. I desire to get like the \'Total_P\' not like the \'Total_Q\' as shown in the figure