|
Mike Buess
USA
3037 Posts |
Posted - 04/11/2005 : 1:44:45 PM
|
Hi Samuel,
The frequency count is the number of datapoints that fall within a given bin. Are you looking for the row numbers of those datapoints? That information is not generated by the histogram plot but you can do it with a LabTalk script or by Origin C. The following example assumes that the values that are binned are in column 2 of the active worksheet. The bin is defined by ymin and ymax so the script types the row numbers for which the column 2 values are between ymin=1 and ymax=2.
ymin=1; ymax=2; get col(2) -e npt; for(i=1;i<=npts;i++) { if(col(2)[i]>ymin && col(2)[i]<=ymax) ty $(i); };
Mike Buess Origin WebRing Member |
 |
|