packages feed

plot 0.1.1.1 → 0.1.1.2

raw patch · 4 files changed

+12/−9 lines, 4 files

Files

CHANGES view
@@ -5,3 +5,6 @@  0.1.1.1: 		* export MinMaxSeries++0.1.1.2:+		* fixed examples for Scale (Log/Linear)
examples/perturbed-sine.hs view
@@ -20,7 +20,7 @@  import qualified Data.Array.IArray as A -import Numeric.LinearAlgebra.Linear+import Numeric.LinearAlgebra --import Numeric.LinearAlgebra.Instances --import Numeric.LinearAlgebra.Interface @@ -53,8 +53,8 @@                          addAxis XAxis (Side Lower) $ withAxisLabel $ setText "time (s)"                          addAxis YAxis (Side Lower) $ withAxisLabel $ setText "amplitude"                          addAxis XAxis (Value 0) $ return ()-                         setRangeFromData XAxis Lower-                         setRange YAxis Lower (-1.25) 1.25+                         setRangeFromData XAxis Lower Linear+                         setRange YAxis Lower Linear (-1.25) 1.25  display :: ((Int,Int) -> C.Render ()) -> IO () display r = do
lib/Graphics/Rendering/Plot.hs view
@@ -58,8 +58,8 @@ >                          addAxis XAxis (Side Lower) $ withAxisLabel $ setText "time (s)" >                          addAxis YAxis (Side Lower) $ withAxisLabel $ setText "amplitude" >                          addAxis XAxis (Value 0) $ return ()->                          setRangeFromData XAxis Lower->                          setRange YAxis Lower (-1.25) 1.25+>                          setRangeFromData XAxis Lower Linear+>                          setRange YAxis Lower Linear (-1.25) 1.25   Render the graph to a Cairo 'Render ()' action that takes the width and height of the drawing area@@ -75,7 +75,7 @@ >         subtitle "with 1 second of a 15Hz sine wave" >         xlabel "time (s)" >         ylabel "amplitude"->         yrange (-1.25) 1.25+>         yrange Linear (-1.25) 1.25  The 'Render a' action can be used in GTK or with Cairo to write to file in PS, PDF, SVG, or PNG @@ -90,8 +90,8 @@ >                          setDataset ms >                          addAxis XAxis (Side Lower) $ setTickLabelFormat "%.0f" >                          addAxis YAxis (Side Lower) $ setTickLabelFormat "%.0f"->                          setRangeFromData XAxis Lower->                          setRangeFromData YAxis Lower+>                          setRangeFromData XAxis Lower Linear+>                          setRangeFromData YAxis Lower Linear  The ODE example from hmatrix: 
plot.cabal view
@@ -1,5 +1,5 @@ Name:                plot-Version:             0.1.1.1+Version:             0.1.1.2 License:             BSD3 License-file:        LICENSE Copyright:           (c) A.V.H. McPhail 2010