dia-functions-0.1: An EDSL for teaching Haskell with diagrams - functions

Graphics.Diagrams.FunctionGraphs

Description

Display function graphs

Synopsis

Documentation

dotty :: (Num a, Real b) => (a -> b) -> Double -> DoubleSource

Make a function discrete

coords :: Point -> Point -> DiagramSource

Draw coordinate system

showFun :: (Fractional a, Real b) => Bool -> Point -> Point -> (a -> b) -> DiagramSource

Display a function

showArc :: (Fractional a, Real b, Real c) => (Double, Double) -> Point -> Point -> (a -> (b, c)) -> DiagramSource

Display an arc