| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Plots.Types.Ribbon
Contents
- data GRibbonPlot v n a
- type RibbonPlot v n = GRibbonPlot v n (Point v n)
- mkRibbonPlotOf :: PointLike v n p => Fold s p -> s -> RibbonPlot v n
- mkRibbonPlot :: (PointLike v n p, Foldable f) => f p -> RibbonPlot v n
- createBarData :: Fractional t => (t, t) -> t -> [(t, t)]
- strokeEdge :: HasRibbon a v n d => Lens' a Bool
- ribbonPlot :: (v ~ BaseSpace c, PointLike v n p, MonadState (Axis b c n) m, Plotable (RibbonPlot v n) b, Foldable f) => f p -> State (Plot (RibbonPlot v n) b) () -> m ()
- ribbonPlot' :: (v ~ BaseSpace c, PointLike v n p, MonadState (Axis b c n) m, Plotable (RibbonPlot v n) b, Foldable f) => f p -> m ()
- ribbonPlotOf :: (v ~ BaseSpace c, PointLike v n p, MonadState (Axis b c n) m, Plotable (RibbonPlot v n) b) => Fold s p -> s -> State (Plot (RibbonPlot v n) b) () -> m ()
- ribbonPlotOf' :: (v ~ BaseSpace c, PointLike v n p, MonadState (Axis b c n) m, Plotable (RibbonPlot v n) b) => Fold s p -> s -> m ()
GRibbonPlot plot
data GRibbonPlot v n a #
Instances
| (Metric v, OrderedField n) => Enveloped (GRibbonPlot v n a) # | |
| (Typeable * a, TypeableFloat n, Renderable (Path V2 n) b) => Plotable (GRibbonPlot V2 n a) b # | |
| type V (GRibbonPlot v n a) # | |
| type N (GRibbonPlot v n a) # | |
Ribbon plot
type RibbonPlot v n = GRibbonPlot v n (Point v n) #
mkRibbonPlotOf :: PointLike v n p => Fold s p -> s -> RibbonPlot v n #
Make a line plot using the given fold.
mkRibbonPlot :: (PointLike v n p, Foldable f) => f p -> RibbonPlot v n #
Make a line plot.
Helper functions
createBarData :: Fractional t => (t, t) -> t -> [(t, t)] #
Lenses
strokeEdge :: HasRibbon a v n d => Lens' a Bool #
Ribbon plot
ribbonPlot :: (v ~ BaseSpace c, PointLike v n p, MonadState (Axis b c n) m, Plotable (RibbonPlot v n) b, Foldable f) => f p -> State (Plot (RibbonPlot v n) b) () -> m () #
ribbonPlot' :: (v ~ BaseSpace c, PointLike v n p, MonadState (Axis b c n) m, Plotable (RibbonPlot v n) b, Foldable f) => f p -> m () #
Fold variation ribbon plot
ribbonPlotOf :: (v ~ BaseSpace c, PointLike v n p, MonadState (Axis b c n) m, Plotable (RibbonPlot v n) b) => Fold s p -> s -> State (Plot (RibbonPlot v n) b) () -> m () #
ribbonPlotOf' :: (v ~ BaseSpace c, PointLike v n p, MonadState (Axis b c n) m, Plotable (RibbonPlot v n) b) => Fold s p -> s -> m () #