Python, Matplotlib, Animation, Statistics, Code.
np.concatenate([origin, steps]).cumsum(0) return path def prepareplot(): #plot the figure ax = fig.add_subplot(111) ax.set_ylim(-2, 10) ax.set_xlim(-5, 10) ax.set_xticks(np.arange(-15, 100, step = 10)) plt.title('Baised Random Walk') return ax def data_extract(): path = randomwalksimulate() for pos