The empirical definition of probability is a relative frequency. It is easy to plot the probabilities of the sample points using the relative frequency approach. Your plots in SPS.png are obtained by the same approach. There is nothing difficult to understand there.