From 2df7178b50ec0f60777b331860646c78b8c0f71a Mon Sep 17 00:00:00 2001 From: Vivian McPhail Date: Sat, 9 Dec 2017 15:10:25 +1300 Subject: [PATCH] Update for HMatrix --- CHANGES | 5 ++++- examples/Test.hs | 13 +++++++------ plot.cabal | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/CHANGES b/CHANGES index 88b9855..5be6a8e 100644 --- a/CHANGES +++ b/CHANGES @@ -133,4 +133,7 @@ * update for hmatrix 0.17 0.2.3.7: - * implement vector functions thanks to alang9 on github \ No newline at end of file + * implement vector functions thanks to alang9 on github + +0.2.3.8: + * resolve ambiguity in Upper and Lower types from HMatrix \ No newline at end of file diff --git a/examples/Test.hs b/examples/Test.hs index 7fc3a46..a1b0cbc 100644 --- a/examples/Test.hs +++ b/examples/Test.hs @@ -114,12 +114,13 @@ figure = do glyph (4,0.2) (return ()) text (3,0.0) (setText "from the α to the Ω") cairo (\_ _ _ _ -> do - C.newPath - C.moveTo 3 0.75 - C.lineTo 4 (-0.5) + --C.stroke + --C.newPath + C.moveTo 1 0.75 + C.lineTo 2 (-0.5) C.stroke - C.rectangle (pi/2) (-1) (pi/2) 1 - C.fill + --C.rectangle (pi/2) (-0.75) (pi/2) 1 + --C.fill ) -- setRange YAxis Lower Log (-1.25) 1.25 -- setLegend True NorthEast Inside @@ -166,4 +167,4 @@ display r = do main = display $ render figure -test = writeFigure PDF "test.pdf" (400,400) figure \ No newline at end of file +test = writeFigure PDF "test.pdf" (400,400) figure diff --git a/plot.cabal b/plot.cabal index fb9698b..46ceb3c 100644 --- a/plot.cabal +++ b/plot.cabal @@ -1,5 +1,5 @@ Name: plot -Version: 0.2.3.7 +Version: 0.2.3.8 License: BSD3 License-file: LICENSE Copyright: (c) A.V.H. McPhail 2010, 2012, 2013, 2014, 2015, 2016, 2017