Changeset 23989 for trunk/psModules/src/extras/pmVisual.c
- Timestamp:
- Apr 28, 2009, 11:21:56 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/extras/pmVisual.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/extras/pmVisual.c
r23242 r23989 281 281 psStats *statsX = psStatsAlloc(PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV); 282 282 psStats *statsY = psStatsAlloc(PS_STAT_SAMPLE_MEDIAN | PS_STAT_SAMPLE_STDEV); 283 psVectorStats (statsX, xVec, NULL, NULL, 0); 284 psVectorStats (statsY, yVec, NULL, NULL, 0); 283 if (!psVectorStats (statsX, xVec, NULL, NULL, 0)) { 284 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 285 return false; 286 } 287 if (!psVectorStats (statsY, yVec, NULL, NULL, 0)) { 288 psError(PS_ERR_UNKNOWN, false, "failure to measure stats"); 289 return false; 290 } 285 291 286 292 float xhi = statsX->sampleMedian + 3 *statsX->sampleStdev;
Note:
See TracChangeset
for help on using the changeset viewer.
