svgdigitizer icon indicating copy to clipboard operation
svgdigitizer copied to clipboard

Data is omitted when second x-axis coordinate is below upper limit of the curve

Open DunklesArchipel opened this issue 6 months ago • 1 comments

When the second x-axis coordinate is placed below the upper limit of the curve in the SVG, all nodes and segments are omitted in the digitization process above that point.

In the example below, the curve starts around 180 and ends at 1600. x-axis coordinates are placed at 200 and 1400. Around 1400 nodes are found at about 1350, 1420, 1500 and 1600. The last four points and segments are omitted and the maximum value found in the CSV is at around 1350.

Image

I tested the creation with and without sampling:

svgdigitizer figure Ruby_transmittance_annotated_1400.svg
svgdigitizer figure Ruby_transmittance_annotated_1400.svg -sampling-interval 1

The issue occurred in #246 and #244

DunklesArchipel avatar Jul 02 '25 08:07 DunklesArchipel

FYI @BenBE

DunklesArchipel avatar Jul 02 '25 08:07 DunklesArchipel