in reply to Re: How would you code this?
in thread How would you code this?
what about simply removing lines where X is going down compared to previous values?
That doesn't achieve the requirement of strict monotonicity (is that a real word? :). Ie. it produces runs of points with different Y-values and the same x-value:
03 0.0037064 0.4124646 04 0.0037064 0.4216399 05 0.0037166 0.4351084 06 0.0037166 0.4438854 07 0.0037268 0.4518142 08 0.0037268 0.4628417 09 0.0037370 0.4730210 10 0.0037370 0.4832176 11 0.0037370 0.4894152
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How would you code this?
by Laurent_R (Canon) on Apr 07, 2016 at 16:25 UTC |