gnuplotlib

gnuplot interface

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install gnuplotlib
choosenim install gnuplotlib
git clone https://github.com/planetis-m/gnuplotlib

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
gnuplotlib - - - - - - -

Source

Repository https://github.com/planetis-m/gnuplotlib
Homepage https://github.com/planetis-m/gnuplotlib
Documentation View Documentation
Registry Source nimble_official

README

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

  • https://github.com/dvolk/gnuplot.nim