RosettaCodeData/Task/Plot-coordinate-pairs/Racket/plot-coordinate-pairs-1.rkt
Ingy döt Net 6f050a029e update
2013-06-05 21:47:54 +00:00

8 lines
189 B
Racket

#lang racket
(require plot)
(define x (build-list 10 values))
(define y (list 2.7 2.8 31.4 38.1 58.0 76.2 100.5 130.0 149.3 180.0))
(plot-new-window? #t)
(plot (points (map vector x y)))