Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Density plot from multiple plots
Posted:
Sep 16, 2013 6:08 PM


Hi,
I use
plot(x_axis, OriginalData); hold all;
for trial=1:1000 f = getData(...); plot(x_acis, f); end
The different ffunctions are all concentrated around "OriginalData" (more or less randomly with some variance).
I want to plot now the "envelope" as well as a "density" plot, i.e. where most of the instances lie.
I played around with creating a matrix and manually using a counter but that does not only take hours but it's also unreliable (needs to precicly know the dimensions) and the interpolation between the points is missing.
Thanks Peter



