How to add numbers to the axes of a graph? I am trying to make a graph of k (as in k-means) vs error, and I can't get it to show the actual number of k on the x-axis (1-15, not just the even numbers), nor any any numbers at all if I add a title to X. 

I have looked at the data frame documentation and the matplotlib axes documentation, and I couldn't find anything telling me how to get it to show the numbers? Even if I have to manually specify them?

Please see images below: 

rdf.plot.line(title='Number of clusters Vs mean accuracy')




rdf.plot.line(title='Number of clusters Vs mean accuracy',
                x='parameters',
                y='mean_validation_score')




I don't understand how to get the x axis to show all 15 numbers (1-15).
Use xticks. e.g.


x=np.arange(1,16)
y = -60000*(3+np.log(1/x))
plt.plot(x,y,'b')
plt.xticks(x)
plt.show()