gnuplot-0.3.3: 2D and 3D plots using gnuplotSource codeContentsIndex
Graphics.Gnuplot.Time
Synopsis
prepXTime :: (FormatTime a, Read b) => [(a, b)] -> [(b, b)]
Documentation
prepXTime :: (FormatTime a, Read b) => [(a, b)] -> [(b, b)]Source

Use it this way:

 import Data.Time
 import Graphics.Gnuplot.Simple

 main =
    plotPath [XTime, XFormat "%m-%d"] $ prepXTime $
       (UTCTime (fromGregorian 2008 01 01)     0, 1.0) :
       (UTCTime (fromGregorian 2008 01 05) 43200, 5.0) :
       (UTCTime (fromGregorian 2008 01 15)     0, 2.5) :
       []
Produced by Haddock version 2.4.2