Gimp-Forum.net
Draw path based on table of co-ordinates. - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Draw path based on table of co-ordinates. (/Thread-Draw-path-based-on-table-of-co-ordinates)



Draw path based on table of co-ordinates. - AmazingGimp - 12-27-2019

Hi there, back again with more challenging graphic, at least for me.

I have a 10,000 points of co-ordinate x-y. 
Is there anyway, i can import my points in, and the path start drawing the lines and then interpolate using some polynomial / bezier curve ?
Here is a sample graph, when i plot it in excel.
[attachment=3696]


RE: Draw path based on table of co-ordinates. - Ofnuts - 12-27-2019

Try my path-csv script. The CSV should have a specific format,  as documented in the link (there are sample ODS+CSV files here). Note that the file is really raw path points, you have to do any required scaling/shift/transformation before exporting to CSV (using your spreadsheet app, for instance). And remember that for Gimp, the Y increase downwards.

This said, 10K points are likely superfluous, a data point per pixel or so is likely enough to have a smooth line.

Otherwise outside of Gimp there are plotting apps.