mirror of
https://github.com/codedownio/haskell-plot.git
synced 2025-04-14 10:26:10 +00:00
Update for HMatrix
This commit is contained in:
parent
cc5cdff696
commit
2df7178b50
5
CHANGES
5
CHANGES
@ -133,4 +133,7 @@
|
||||
* update for hmatrix 0.17
|
||||
|
||||
0.2.3.7:
|
||||
* implement vector functions thanks to alang9 on github
|
||||
* implement vector functions thanks to alang9 on github
|
||||
|
||||
0.2.3.8:
|
||||
* resolve ambiguity in Upper and Lower types from HMatrix
|
@ -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
|
||||
test = writeFigure PDF "test.pdf" (400,400) figure
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user