import matplotlib.pyplot as plt
Independant_variable = [5.08, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32]
Dependant_variable = [74.47, 71.61, 67.66, 68.07, 67.32, 67.46, 67.17, 66.33, 65.63, 65.51, 65.56, 65.15, 65.79, 65.36, 70.94, 65.53, 66.38, 66.71, 66.44, 66.07, 68.48, 73.70, 70.91, 66.17, 71.10, 71.18, 75.57, 79.13]
plt.plot(Independant_variable, Dependant_variable, ".")
plt.grid(True)
plt.xlabel("Independant variable", fontsize=13)
plt.ylabel("Dependant variable", fontsize=13)
How would I add a false origin to the x and y axis?
Also, how could I add a regression line such that I could find the minimum value of the Dependant variable for a given value of the independant variable?
