-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library Request: GNUPlot Library #12907
Comments
A good list of example and high-quality GNUPLot templates: https://github.com/hesstobi/Gnuplot-Templates |
@marcoscleison started a project here: https://github.com/marcoscleison/chapel-gnuplot Perhaps a good first step to would be publishing this package to the mason registry. |
It looks pretty nice, although I definitely have a few suggestion w.r.t API changes. |
It might be best to express these as issues on that repo. |
Gnuplot is now a package that is available on the mason-registry. |
I think that it would be very cool to have a GNUPlot library that provides context objects that keep track of a mapping of all requested user settings, and then at the end generates the GNUPlot script. As well, a way to read in a GNUPlot script into memory and back into a context object so that it can be easily modified would be great too, in that it provides ways to create templates.
What I envision it would look like
What I envision using it would look like
Creating a log-log (base 2) figure...
I think something like this can possibly save a lot of time when collecting benchmarks. Why? All of the data can be directly deposited into the GNUPlot figures and context object rather than outputting to file and then having to manually parse it later. As well it eliminates quite a bit of boilerplate and can provide useful defaults.
As mentioned before, the ability to read in a template file would be very cool and even more time consuming so you waste less time having to rewrite the same configuration, and instead you can write-once-use-anytime!
Why not make/contribute this yourself?
I genuinely don't have time, but that doesn't make something like this any less cool! It would be cool if someone who wants something similar with a bit more time, or for someone trying to break into Chapel and get their first library going, to implement something like this!
The text was updated successfully, but these errors were encountered: