Anonymous user
Plot coordinate pairs: Difference between revisions
Adds Clojure solution
(Adds Clojure solution) |
|||
Line 697:
//--------------------------------------------------------------------------------------------------
</lang>
=={{header|Clojure}}==
{{libheader|incanter}}
<lang clojure>(use '(incanter core stats charts))
(def x (range 0 10))
(def y '(2.7 2.8 31.4 38.1 58.0 76.2 100.5 130.0 149.3 180.0))
(view (xy-plot x y))
</lang>
{{Out}}
[http://i.imgur.com/0RQaxNl.png]
=={{header|Erlang}}==
|