from matplotlib.pyplot import * list = [1,3,5,7,2,4,6,8,10] plot(list)
With my code above, the code will graph with x-axis run from 0 to 8. What sho