Hi Paul First about your question about the underlying grid of the data. That does not matter. In fact the example at the start of the script uses a dataset with no time axis at all. Inside the script yes? go/help histogram_pdf we can see that the script simply collects all of the data in the given region into a big list using the XSEQUENCE function, and sorts it. Now the data is just in a list x=1,2,3,4, sorted lowest to highest. Then it counts the number of values in each of a set of bins. The bins are set arbitrarily in the script as 10 counts wide each. This is definitely a script to make a copy of and change yourself, as suggested by some of the comments in the script, changing the lines LET hpdf = 10/((hval[i=@shf:+5]-hval[i=@shf:-5])*hcount[x=@max])and LET/TITLE="Probability Density Function" vval = hpdf[i=@sbx:11] I don't think this script will give you what you're describing. Maybe combining the variables this script defines with one of the bar_chart scripts would come closer. On 2/20/2014 10:18 AM, Paul Goddard
wrote:
|