Hi there,

I am beginner in Octave.
I am using this for calculation kernel density for some concentrations.

This is one example data:

ssw ef
1.85 1.497297297
1.21 1.719008264
1.44 1.451388889
1.71 1.514619883
1.4         1.192857143
0.396 1.795454545

Here is the codes:

doc_ef=a(:,2);
doc_ssw=a(:,1);
run_doc=0:d:20;
dens_est_doc_ef=kernel_dens(ones(size(run_doc)),doc_ef,run_doc);
plot(run_doc,dens_est_doc_ef,'b')

The integral of each distribution should be equal to one!My question is how
can I avoid having plots over one in my graph. The example for graph is
attached by this email.

Any idea and suggestion would be appreciated.

Thanks,
Sue


Attachment: ef_example.pdf
Description: Adobe PDF document

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to