Re: Changing the default N for "genNormalDist"

From: Hyacinth Nnamchi <hyacinth.1_at_nyahnyahspammersnyahnyah>
Date: Wed Jun 19 2013 - 20:03:14 MDT

Thanks Dennis. That solves the problem.Hyacinth


> Date: Wed, 19 Jun 2013 09:46:52 -0600
> From: shea@ucar.edu
> To: hyacinth.1@hotmail.com
> CC: ncl-talk@ucar.edu
> Subject: Re: [ncl-talk] Changing the default N for "genNormalDist"
>
> The documentation is incorrect. It will be fixed. Use
>
> opt@npts = 30
>
> rather than
>
> opts@N = 30
>
> Sorry
>
>
> On 6/19/13 8:19 AM, Hyacinth Nnamchi wrote:
> > Hi,I am trying to fit normal distribution to a histogram. So, I'd like to choose N size equal to that for the histogram data. But irrespective of the N values I choose, I still get the default 101.;======================================================For example:
> >
> > opt = True opt@N = 301 xave = 10. xsd = 3. ;xNorm = genNormalDist(xave,xsd,opt) xNorm = genNormalDist(xave,xsd,301)
> > printVarSummary(xNorm)
> > Variable: xNormType: floatTotal Size: 404 bytes 101 valuesNumber of Dimensions: 1Dimensions and sizes: [101]Coordinates: Number Of Attributes: 3 long_name : Normal Distribution x : <ARRAY of 101 elements> xsd : <ARRAY of 101 elements>;========================================================
> > Is something wrong with the function?
> > Thanks,
> > Hyacinthncl V6.1
> >
> >
> >
> >
> > _______________________________________________
> > 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 Wed Jun 19 20:03:27 2013

This archive was generated by hypermail 2.1.8 : Mon Jun 24 2013 - 11:46:47 MDT