I want to replicate a line plot from excel using x-y
data table, but the output from my code looks different than the plot I get from the excel.
I noticed that if I change the plotting style from line to scatter in the excel then both plots looks the same.
This is a sample code for reproduce:
import matplotlib.pyplot as plt
X=[1,5,7,15,20,25,30]
Y=[12,9,10,8,7,9,6]
plt.plot(X,Y)
How to replicate a line plot from excel in to python?