Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Density plot from multiple plots
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Peter Mairhofer

Posts: 38
Registered: 8/18/10
Density plot from multiple plots
Posted: Sep 16, 2013 6:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I use

plot(x_axis, OriginalData);
hold all;

for trial=1:1000
f = getData(...);
plot(x_acis, f);

The different f-functions 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.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.