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

MaintainerAnders Claesson <>
Safe HaskellNone



Plot permutations.



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).