You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the extension to extract data from line plots saved in PDF files. I've got the extension to work, but it took some trial and error. Consider this bits and pieces of advice for anyone who ends up here in the future:
There maybe a mismatch in units depending on how Inkscape is set up. I have Inkscape default to millimeters, but this extension appears to work in pixels. I get around this by adding scaling doc_h in nodes_to_csv.py as doc_h *= 25.4/96
where 25.4 is millimeters per inch and 96 is what (at least my) Inkscape uses to convert pixels to inches.
If you change a page's dimensions, Inkscape will add a transform=translate(<x>, <y>) into the SVG file. If this happens, the exported node positions seem off. That's because they are not relative to the top left of the original page, not the top left of the current page.
If you want to use only part of a page (e.g., just a graph), I recommend cutting and pasting it into a new document and placing it at the top left corner.
The text was updated successfully, but these errors were encountered:
I'm using the extension to extract data from line plots saved in PDF files. I've got the extension to work, but it took some trial and error. Consider this bits and pieces of advice for anyone who ends up here in the future:
doc_h
innodes_to_csv.py
asdoc_h *= 25.4/96
where 25.4 is millimeters per inch and 96 is what (at least my) Inkscape uses to convert pixels to inches.
transform=translate(<x>, <y>)
into the SVG file. If this happens, the exported node positions seem off. That's because they are not relative to the top left of the original page, not the top left of the current page.The text was updated successfully, but these errors were encountered: