Graphics.Gnuplot.Plot.TwoDimensional
Contents
- linearScale :: Fractional a => Integer -> (a, a) -> [a]
- type T = T T
- list :: Show a => [a] -> T
- function :: Show a => [a] -> (a -> a) -> T
- functions :: Show a => [a] -> [a -> a] -> T
- path :: Show a => [(a, a)] -> T
- parameterFunction :: Show a => [a] -> (a -> (a, a)) -> T
- listFromFile :: FilePath -> Int -> T
- pathFromFile :: FilePath -> Int -> Int -> T
Documentation
linearScale :: Fractional a => Integer -> (a, a) -> [a]Source
computed plots
list :: Show a => [a] -> TSource
list (take 30 (let fibs = 0 : 1 : zipWith (+) fibs (tail fibs) in fibs))
parameterFunction :: Show a => [a] -> (a -> (a, a)) -> TSource
parameterFunction (linearScale 1000 (0,2*pi)) (\t -> (sin (2*t), cos t))
plot stored data
listFromFile :: FilePath -> Int -> TSource