[Kst] kdeextragear-2/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Wed Jan 28 05:49:33 CET 2004


CVS commit by netterfield: 

Add getIndexNearX(x) to kstbasecurve, which looks for the index near x.
If the curve is monotonically rising, it uses a binary search.  Otherwise,
it uses a linear search.

Then use this function to re-do dataMode....

It works - in that it does what I though I wanted it to do... 


  M +51 -0     kstbasecurve.cpp   1.8
  M +1 -0      kstbasecurve.h   1.13
  M +4 -34     kstplot.cpp   1.36
  M +26 -55    kstview.cpp   1.78






More information about the Kst mailing list