views:

1672

answers:

2

I'd like to represent on a distribution the plot that fit to it.

I can't find how to do it (I'm a MATLAB beginner).

Thanks for any help!

+5  A: 

What you want is the "hold" command. It keeps the current plot/axes in place and enables you to put a new plot on top of another one. E.g.:

hist(somedata);
hold;
plot(someotherdata);

see here

Matt Bridges
+4  A: 
Jacob
Thanx a lot, i finally get my graph!
clowny

related questions