Re: Overlaping area of two PDFs curves

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu, 25 Jun 2009 08:45:36 -0600

The "pdfx" function return the attributes

     * nbins - the number of bins used.
     * bin_spacing - the spacing of the bins used.
     * bin_bound_min - the minimum boundary bin value.
     * bin_bound_max - the maximum boundary bin value.
     * bin_center - a one-dimensional array of size nbins containing the
center points of each bin. For plotting these can be used as the "x"
[abscissa].
     * bin_bounds - a one-dimensional array of size (nbins +1)
containing the boundaries of each bin.

You could use this information [bin_center/bin_bounds]
to test for overlap.

??? wrote:
> Hi NCL helpers,
>
> I would like to calculate the overlapping area between the two curves from PDF (Probability Density Functions) plots (derived using pdfx in NCL).
> Do you know how to do this using NCL?
> Thanks.
>
> Maomao
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jun 25 2009 - 08:45:36 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 29 2009 - 10:19:05 MDT