-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A quick way to use Mathematica like Manipulation abilities -- -- A pre-built ui for plotting based on plot. Quicker to use than -- plot-gtk, but less configurable, and less versatile. -- -- Only provides ability to plot mathematical functions. But, also allows -- dynamic plotting functionality similar to Mathematica. @package plot-gtk-ui @version 0.3.0.2 -- | Quick plotting for functions + dynamic plotting of functions -- -- plotStatic can be used to plot functions of the form -- f(x)=... -- -- plotDynamic can be used to plot functions of the form /f(x, a, -- b) = ... where a and b/ are additional parameters. -- Sliders are provided for manipulating the values of a and -- b, and the plot is animated in real-time. module Graphics.Rendering.Plot.Gtk.UI -- | Plot functions that don't depend on extra parameters plotStatic :: (Double -> Double) -> (Double, Double) -> IO () -- | Plot functions that depend on extra parameters plotDynamic :: (Vector u a, Vector v (a, a), a ~ Double, Dim u ~ Dim v, Dim v ~ S n, Arity n) => (u Double -> Double) -> v (Double, Double) -> IO () -- | Possibly returns an IO action that creates a plot assuming that it's -- executing in a GTK environment (after initGUI). Returns Nothing if no. -- of arguments does not match. plotWithArity :: Int -> ([Double] -> Double) -> [(Double, Double)] -> Maybe (IO ())