gnuplot.nim
gnuplot.nim copied to clipboard
Nim interface to gnuplot
I like to propose an additional plot procedure for plotting multiple data _lines_ ``` func quote(s:string) : string = '"' & s & '"' .... proc plot*[X, Y](xs: openarray[X], ys:...
Hello, you can send data to `gnuplot` without using a temporary file, on unix-like OSes at least, by using `popen` to spawn `gnuplot` and write data and commands to it...
Change line 16 from Y = newSeqWith(len(X), random(10.0)) to Y = newSeqWith(len(X), rand(10.0))