Open bedaro opened 3 years ago
Hi @bedaro, "grid" means in this case only that the code can find ticks and corresponding values on the x and y axes. I see two things the code might not be able to handle:
To solve these problems in the svg file, one could remove the dates on the x-axis and replace them by (unrotated) numerical values. To solve these problems in the code, the functions that look for the tick values have to be modified to also find rotated text. In addition, the strings describing the dates have to be converted to numerical values.
Hi,
I'm trying to extract data from this PDF containing several hundred plots. https://fortress.wa.gov/ecy/publications/documents/0803037appc.pdf
For example, I'm starting with the second plot on page 14 for Alki East Chlorophyll-a. If all I do is save this page as an SVG using Inkscape 1.0, I get this:
Next I tried to make the job easier by deleting everything from the page except the plot I want. Same error. Next, I used Inkscape to Resize Page to Selection (the resulting SVG is attached with the extension changed to please github) [0803037appc_p14.txt](https://github.com/peterstangl/svg2data/files/5046091/0803037appc_p14.txt This produces:
Any ideas why it can't find the plot? Is a grid required?