uniformm = UniformDistribution[{{-1, 1}, {-1, 1}}]; dist = PDF[uniformm, {x, y}]; Plot3D[dist, {x, -3, 3}, {y, -3, 3}, Filling -> Axis] c2 = Accumulate@Prepend[RandomVariate[uniformm, {500, 2}], {0, 0}]; ListLinePlot[c2, AspectRatio -> Automatic] I am trying to plot a random walk drawn from a flat distribution (x and y fall within [-1,1]).
However, I keep getting x and y axes without a random walk graph.
Thank you