sym-plot-0.2.0: Plot permutations; an addition to the sym package

MaintainerAnders Claesson <anders.claesson@gmail.com>
Safe HaskellNone

Math.Sym.Plot

Description

Plot permutations.

Synopsis

Documentation

type Plot = Diagram Cairo R2Source

A plot is represented by Cairo diagram

plotPerm :: Permutation a => a -> PlotSource

The plot of a permutation.

plotPerms :: Permutation a => Int -> [a] -> PlotSource

The plot of a list of permutations. The first argument specifies how many permutations are on each row.

savePlot :: Double -> String -> Plot -> IO ()Source

Save plot as a png, ps, pdf, or svg (determined automatically from the file extension).