IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2006, 7:25:12 AM (20 years ago)
Author:
eugene
Message:

fixed error in histogram for NaN/Inf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/graph/DrawObjects.c

    r5611 r9845  
    202202  Y1 = layout[0].axis[1].fy + layout[0].axis[1].dfy;
    203203
     204  /* find the first valid datapoint */
    204205  x = object[0].x; y = object[0].y;
    205206  for (i = 0; (i < object[0].Npts) && !(finite(x[i]) && finite(y[i])); i++);
     
    210211  sy0 = MAX (MIN (sy0, Y0), Y1);
    211212 
     213  /* continue with rest of points */
    212214  for (i++; i < object[0].Npts; i++) {
    213215    if (!(finite(x[i]) && finite(y[i]))) continue;
Note: See TracChangeset for help on using the changeset viewer.