Plotting stochastic processes in Python
问题 Say I have a stochastic process defined between [0... N] , e.g. N=50 . For every location, I have several samples (e.g. m=100 samples) (representing my sampling distribution at each location). One way to look at this is as a numpy 2D array of size (m,N) . How can I plot this intuitively in matplotlib ? One possibility is to plot the process as a 1D plot along with an envelope of varying thickness and shade that captures the density of these distributions, something along the lines of what I