No description
Find a file
Antonis Geralis 60bbcbd293 v2.7.1
2023-01-18 16:35:30 +02:00
gnuplot rename to gnuplot, gnuplot_simple is the default 2022-06-17 20:43:30 +03:00
tests improvements 2023-01-18 16:35:23 +02:00
.gitignore hotfix 2020-11-22 20:56:07 +02:00
gnuplot.nim improvements 2023-01-18 16:35:23 +02:00
gnuplot.nimble v2.7.1 2023-01-18 16:35:30 +02:00
LICENSE refactor 2020-11-22 16:38:02 +02:00
README.md updates 2022-06-17 20:58:15 +03:00

Gnuplot

gnuplot interface for Nim. There are 17 predefined styles.

Examples

import gnuplot


plot "sin(x)", title = "sin(x)", args = "with lines linestyle 1"
plot "cos(x)", title = "cos(x)", args = "with lines linestyle 2"
import gnuplot, random, sequtils

let xs = newSeqWith(20, rand(1.0))
plot xs, "random values"

It has a styling gnuplot macro that is included by default. Functions for printing to pdf and png files also exist. gnuplot/funcs defines arange and linspace iterators and functions.

Limitations

Does not support multiple concurrent plots. To be done.

Acknowledgement