{"id":24528154,"url":"https://github.com/acorbe/gnuplot-cubic-hermite-spline","last_synced_at":"2026-01-03T03:34:24.164Z","repository":{"id":149729822,"uuid":"214951361","full_name":"acorbe/gnuplot-cubic-hermite-spline","owner":"acorbe","description":"Cubic Hermite Splines in Gnuplot. C1 (continuous + continuous 1st der.) piece-wise functions made of cubic polynomials.","archived":false,"fork":false,"pushed_at":"2019-11-11T06:51:20.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T06:37:50.152Z","etag":null,"topics":["gnuplot","gnuplot-graphs","gnuplotlib"],"latest_commit_sha":null,"homepage":"","language":"Gnuplot","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acorbe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-14T04:58:02.000Z","updated_at":"2019-11-11T06:51:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"d50f8359-3965-491a-b553-4932a4c3f2e1","html_url":"https://github.com/acorbe/gnuplot-cubic-hermite-spline","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorbe%2Fgnuplot-cubic-hermite-spline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorbe%2Fgnuplot-cubic-hermite-spline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorbe%2Fgnuplot-cubic-hermite-spline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acorbe%2Fgnuplot-cubic-hermite-spline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acorbe","download_url":"https://codeload.github.com/acorbe/gnuplot-cubic-hermite-spline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243762238,"owners_count":20343976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gnuplot","gnuplot-graphs","gnuplotlib"],"created_at":"2025-01-22T06:34:04.171Z","updated_at":"2026-01-03T03:34:24.121Z","avatar_url":"https://github.com/acorbe.png","language":"Gnuplot","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cubic splines for gnuplot\n\nLibrary to create [cubic hermite splines](https://en.wikipedia.org/wiki/Cubic_Hermite_spline) in [gnuplot](http://www.gnuplot.info/). Cubic splines are C1 piece-wise polynomial functions (of local degree 3) for which are specified value and first-derivative of the control points.\n\n![Lagrangian Structure Function](example-lagrangian-structure-function.png)\n\nI used this library to create sketches of second-order [Lagrangian structure functions for turbulence (e.g. [Fig.3 in this paper](https://pure.tue.nl/ws/files/3141669/Metis218551.pdf)) as in the example above.\n\n\n### Usage \n\n```gnuplot\n\nload \"cubic_hermite_spline.lib.gnu\"\nset parametric\n\nplot t, cubHerMulti5t(x0,u0, x1,u1, x2,u2, x3,u3, x4,u4, x5,u5 ,t)\n\n```\n\nHere `xi,ui` are, respectively, the value of the spline and of its first derivative.\n\nThe functions `cubHerMulti2t`, ..., `cubHerMulti5t` expect, respectively, 2, ... , 5 input control points.\n\n### TODO \n\nThe library can be easily extended to more control points; the API as well should be modified to accept arrays as inputs.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facorbe%2Fgnuplot-cubic-hermite-spline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facorbe%2Fgnuplot-cubic-hermite-spline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facorbe%2Fgnuplot-cubic-hermite-spline/lists"}