plot 0.2.3.5 → 0.2.3.6
raw patch · 2 files changed
+8/−11 lines, 2 filesdep ~basedep ~cairodep ~pango
Dependency ranges changed: base, cairo, pango, transformers
Files
- examples/Test.hs +3/−6
- plot.cabal +5/−5
examples/Test.hs view
@@ -16,15 +16,12 @@ import Data.Colour.Names -import Data.Packed.Vector---import Data.Packed.Random-import Data.Packed()- --import Prelude.Unicode import qualified Data.Array.IArray as A import Numeric.LinearAlgebra+import Numeric.LinearAlgebra.Data import Numeric.GSL.Statistics @@ -38,13 +35,13 @@ ss = sin (15*2*pi*ts) ds = 0.25*rs + ss-es = constant (0.25*(stddev rs)) ln+es = konst (0.25*(stddev rs)) ln fs :: Double -> Double fs = sin . (15*2*pi*) ms :: Matrix Double-ms = buildMatrix 64 64 (\(x,y) -> sin (2*2*pi*(fromIntegral x)/64) * cos (5*2*pi*(fromIntegral y)/64))+ms = build (64,64) (\x y -> sin (2*2*pi*x/64) * cos (5*2*pi*y/64)) pts = linspace 1000 (0 :: Double,10*pi) fx = (\t -> t * sin t) pts
plot.cabal view
@@ -1,5 +1,5 @@ Name: plot-Version: 0.2.3.5+Version: 0.2.3.6 License: BSD3 License-file: LICENSE Copyright: (c) A.V.H. McPhail 2010, 2012, 2013, 2014, 2015@@ -35,7 +35,7 @@ . Category: Graphics -Tested-with: GHC==7.10.2+Tested-with: GHC==8.0.1 Cabal-version: >= 1.8 Build-type: Simple @@ -48,10 +48,10 @@ library - Build-Depends: base >= 4 && < 5,+ Build-Depends: base >= 4 && < 6, mtl > 2, array,- transformers > 0.2 && < 0.5,- pango >= 0.11.2 && < 0.14, cairo >= 0.11.1 && < 0.14,+ transformers > 0.5 && < 0.7,+ pango >= 0.13 && < 0.14, cairo >= 0.13 && < 0.14, colour >= 2.2.1 && < 2.4, hmatrix >= 0.17