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: 33
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

Hi,

I use

plot(x_axis, OriginalData);
hold all;

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

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.

Thanks
Peter



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.