Safe Haskell | None |
---|

Interface functions to the gnuplot package for generating plots.

- series2plot :: (C a, C a, C b, C b) => Title -> [(a, b)] -> T a b
- series2scaledPlot :: (C c, C c, C d, C d) => (a -> c) -> (b -> d) -> Title -> [(a, b)] -> T c d
- series2plotWith :: (C a, C a, C b, C b) => [T -> T] -> [(a, b)] -> T a b
- series2scaledPlotWith :: (C c, C c, C d, C d) => [T -> T] -> (a -> c) -> (b -> d) -> [(a, b)] -> T c d
- series2plotWithLinestyle :: (C a, C a, C b, C b) => Int -> Title -> [(a, b)] -> T a b
- series2scaledPlotWithLinestyle :: (C c, C c, C d, C d) => Int -> (a -> c) -> (b -> d) -> Title -> [(a, b)] -> T c d
- sbench2plot :: FilePath -> IO (T Double Double)
- sbench2scaledPlot :: (Double -> Double) -> (Double -> Double) -> FilePath -> IO (T Double Double)
- sbench2plotWithLinestyle :: Int -> FilePath -> IO (T Double Double)
- sbench2scaledPlotWithLinestyle :: Int -> (Double -> Double) -> (Double -> Double) -> FilePath -> IO (T Double Double)
- sbench2plotWith :: [T -> T] -> FilePath -> IO (T Double Double)
- sbench2scaledPlotWith :: [T -> T] -> (Double -> Double) -> (Double -> Double) -> FilePath -> IO (T Double Double)
- toDiagram :: (C a, C b, C a, C b) => [Char] -> [T -> T] -> [T (T a b) -> T (T a b)] -> [T a b] -> IO FilePath
- toDiagramWith :: (C a, C b, C a, C b, C terminal) => terminal -> [T (T a b) -> T (T a b)] -> [T a b] -> IO ExitCode

# Documentation

toDiagram :: (C a, C b, C a, C b) => [Char] -> [T -> T] -> [T (T a b) -> T (T a b)] -> [T a b] -> IO FilePathSource

Compared to `toDiagramWith`

, the output terminal is fixed to
Graphics.Gnuplot.Terminal.PostScript and the resulting
.eps file is transformed to a .pdf via a call to `epstopdf`

.

The parameters are as follows
[`name`

] Choose the output terminal. See Graphics.Gnuplot.Terminal
[`topts`

] Frame options, e.g. title. See Graphics.Gnuplot.Frame.OptionSet
[`opts`

] List of plots to be shown in the diagram.
[`plots`

] List of plots to be shown in the diagram.

toDiagramWith :: (C a, C b, C a, C b, C terminal) => terminal -> [T (T a b) -> T (T a b)] -> [T a b] -> IO ExitCodeSource

Produces a diagram with several plots inside.

The parameters are as follows
[`terminal`

] Choose the output terminal. See Graphics.Gnuplot.Terminal
[`opts`

] Frame options, e.g. title. See Graphics.Gnuplot.Frame.OptionSet
[`plots`

] List of plots to be shown in the diagram.