packages feed

layoutz-1.0.0.0: examples/PlotDemo.hs

module Main where

import Layoutz

main :: IO ()
main = do
  let sinePoints = [(x, sin x * 5) | x <- [0, 0.15 .. 7.5]]
  putStrLn $ render $
    plotLine 50 12 [Series sinePoints "sin(x)" ColorBrightCyan]