Safe Haskell | None |
---|---|
Language | Haskell2010 |
Create graphical plots of signals and their spectrums. Uses OpenGL.
Synopsis
- plotLine :: Int -> Int -> Int -> Int -> ExceptT String IO (Consumer (Vector GLfloat) IO ())
- plotLineAxes :: Int -> Int -> Int -> Int -> Render () -> ExceptT String IO (Consumer (Vector GLfloat) IO ())
- plotWaterfall :: Int -> Int -> Int -> Int -> [GLfloat] -> ExceptT String IO (Consumer (Vector GLfloat) IO ())
- plotFill :: Int -> Int -> Int -> [GLfloat] -> ExceptT String IO (Consumer (Vector GLfloat) IO ())
- plotFillAxes :: Int -> Int -> Int -> [GLfloat] -> Render () -> ExceptT String IO (Consumer (Vector GLfloat) IO ())
- zeroAxes :: Int -> Int -> Double -> Double -> Render ()
- centeredAxes :: Int -> Int -> Double -> Double -> Double -> Render ()
Line Graphs
:: Int | Window width |
-> Int | Window height |
-> Int | Number of samples in each buffer |
-> Int | Number of vertices in graph |
-> ExceptT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a dynamic line graph of the incoming data.
:: Int | Window width |
-> Int | Window height |
-> Int | Number of samples in each buffer |
-> Int | Number of vertices in graph |
-> Render () | Cairo Render object that draws the axes |
-> ExceptT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a dynamic line graph of the incoming data. With Axes.
Waterfalls
:: Int | Window width |
-> Int | Window height |
-> Int | Number of columns |
-> Int | Number of rows |
-> [GLfloat] | The color map |
-> ExceptT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a waterfall of the incoming data.
Filled In Line Graphs
:: Int | Window width |
-> Int | Window height |
-> Int | Number of samples in each buffer |
-> [GLfloat] | The color map |
-> ExceptT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a dynamic filled in line graph of the incoming data.
:: Int | Window width |
-> Int | Window height |
-> Int | Number of samples in each buffer |
-> [GLfloat] | The color map |
-> Render () | Cairo Render object that draws the axes |
-> ExceptT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a dynamic filled in line graph of the incoming data. With Axes.
Axes
Create a Cairo RenderMode
monad that draws a set of axes with 0 at the bottom left.