automeris-io / WebPlotDigitizer

Computer vision assisted tool to extract numerical data from plot images.
https://automeris.io
GNU Affero General Public License v3.0
2.67k stars 362 forks source link

x and y order while drawing line #10

Closed sharmaramh closed 11 years ago

sharmaramh commented 11 years ago

Usually the auto function WebPlotDigitizer seems to list the cordinates from left to right - not in order user wants to (let me know if I am correct). It works fine with manual mode but is tidious to pick alot of points. I am trying to recreate the candle line based on the discussion in the SO.

http://stackoverflow.com/questions/14133040/finding-coordinate-of-sketch-image-eg-scanned-as-photo-format-in-r-or-other-s

As point in x axis (pixels) are ordered. If I connect the lines it doesnot make any sense - as it doesnot connect line in order the candle should be drawn.

ankitrohatgi commented 11 years ago

Hello,

Thanks for bringing this up. I am aware of this problem and it is something I do intend to address in the future. However, development work has been very slow in the last few months and the amount of time I will be able to donate to this project is a bit unpredictable. I can provide a status update here when I get to addressing this issue.

Thanks, Ankit

ankitrohatgi commented 11 years ago

The CSV output now has a nearest neighbor sort option. That should connect the points like you expected for this case.