packages feed

plot-light 0.3.2 → 0.3.2.1

raw patch · 5 files changed

+4/−12 lines, 5 files

Files

README.md view
@@ -11,7 +11,7 @@   `plot-light` provides functionality for rendering 2D graphics. It is geared in particular towards scientific plotting, and it is called "light" because it only requires a few common Haskell dependencies.-It builds upon `blaze-svg` and `JuicyPixels` by adding type-safe combinators, geometry primitives and high-level graphing functionality.+It builds upon `blaze-svg` by adding type-safe combinators, geometry primitives and high-level graphing functionality.  ## Usage 
plot-light.cabal view
@@ -1,5 +1,5 @@ name:                plot-light-version:             0.3.2+version:             0.3.2.1 synopsis:            A lightweight plotting library, exporting to SVG description:         This library provides drawing and plotting datastructures and functions; it is aimed in particular at scientific visualization, but it also exposes its plotting primitives and a small but general purpose 2D geometry library.                      @@ -25,7 +25,7 @@   hs-source-dirs:      src   exposed-modules:     Graphics.Rendering.Plot.Light                        Data.TimeSeries-                       Graphics.Rendering.Plot.Light.PlotTypes+                       Graphics.Rendering.Plot.Light.PlotTypes                                               Graphics.Rendering.Plot.Light.Internal.Geometry   other-modules:       Graphics.Rendering.Plot.Light.Internal                        Graphics.Rendering.Plot.Light.Internal.Layout@@ -35,7 +35,6 @@                        Graphics.Rendering.Plot.Light.PlotTypes.TimeSeries                        Graphics.Rendering.Plot.Light.PlotTypes.TimeSeries.Candlestick                        Graphics.Rendering.Plot.Light.Internal.Utils-                       Data.Parsers   build-depends:       base >= 4.7 && < 5                      , blaze-svg                      , colour
− src/Data/Parsers.hs
@@ -1,6 +0,0 @@-module Data.Parsers where--- import qualified Data.Attoparsec.Text as A---- space, comma :: A.Parser Char--- space = A.char ' '--- comma = A.char ','
src/Data/TimeSeries.hs view
@@ -22,7 +22,6 @@     _val :: a     } deriving (Eq, Show) - tickToFractional :: Fractional b => TsPoint a -> b tickToFractional = fromRational . fromTick . _tick 
src/Graphics/Rendering/Plot/Light/Internal/Geometry.hs view
@@ -9,7 +9,7 @@   -- ** Point   Point(..), mkPoint, setPointX, setPointY,   -- ** LabeledPoint-  LabeledPoint(..), mkLabeledPoint, labelPoint, moveLabeledPoint, mapLabel,+  LabeledPoint(..), mkLabeledPoint, labelPoint, moveLabeledPoint, moveLabeledPointBwFrames, mapLabel,   -- ** Frame   Frame(..), mkFrame, frameFromPoints,  mkFrameOrigin, height, width, xmin, xmax, ymin, ymax,    -- ** Axis