Exact numbers is not supported by gnuplot. Fix it

This commit is contained in:
Nikolay Puzanov 2024-06-06 12:48:19 +03:00
parent 1487382015
commit 53408f7bdf

View File

@ -66,7 +66,10 @@
(lambda () (lambda ()
(for-each (for-each
(cut >> <>) (cut >> <>)
(map (lambda (sample) (string-join (map (cut format #f "~a" <>) sample) " ")) (map (lambda (sample) (string-join (map
(lambda (x) (number->string
(exact->inexact x)))
sample) " "))
(apply zip (cons ((first plots) 'x) (apply zip (cons ((first plots) 'x)
(map (lambda (plot) (plot 'y)) plots))))))) (map (lambda (plot) (plot 'y)) plots)))))))
(close-port file-port) (close-port file-port)