Improve color handling

This commit is contained in:
Dimitri Lozeve 2021-04-29 20:04:12 +02:00
parent 516237d2bc
commit 46d5d0a90d
5 changed files with 23 additions and 18 deletions

View file

@ -9,5 +9,6 @@
(def (main . args)
(let* ((xs (iota 1000 0 0.01))
(ys1 (map cos xs))
(ys2 (map sin xs)))
(displayln (line-plot [xs ys1 ys2]))))
(ys2 (map (lambda (x) (/ 1 (+ 0.5 x))) xs))
(ys3 (map (lambda (x) (sin (* 2 x))) xs)))
(displayln (line-plot [xs ys1 ys2 ys3]))))