Safe Haskell | None |
---|
This file contains the functions for plotting distributions using Gnuplot. The interface is still under heavy construction, so it's not very well documented as of yet.
- data PlotParams = PlotParams {}
- plotFile :: String -> PlotParams
- genPlotParams :: String -> a -> PlotParams
- defPlotParams :: PlotParams
- class PlottableDistribution dist where
- plotDistribution :: PlotParams -> dist -> IO ()
- plotdata :: dist -> String
- gnuplot :: PlotParams -> dist -> String
Documentation
data PlotParams Source
plotFile :: String -> PlotParamsSource
genPlotParams :: String -> a -> PlotParamsSource
provided due to backwards compatibility with the nuclear weapons blog post.
class PlottableDistribution dist whereSource
plotDistribution :: PlotParams -> dist -> IO ()Source
plotdata :: dist -> StringSource
gnuplot :: PlotParams -> dist -> StringSource
PlottableDistribution (KDE Double) | |
(Show label, Show prob, Num prob, Ord prob) => PlottableDistribution (Categorical label prob) |