| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
SDR.Plot
Description
Create graphical plots of signals and their spectrums. Uses OpenGL.
- plotLine :: Int -> Int -> Int -> Int -> EitherT String IO (Consumer (Vector GLfloat) IO ())
- plotLineAxes :: Int -> Int -> Int -> Int -> Render () -> EitherT String IO (Consumer (Vector GLfloat) IO ())
- plotWaterfall :: Int -> Int -> Int -> Int -> [GLfloat] -> EitherT String IO (Consumer (Vector GLfloat) IO ())
- plotFill :: Int -> Int -> Int -> [GLfloat] -> EitherT String IO (Consumer (Vector GLfloat) IO ())
- plotFillAxes :: Int -> Int -> Int -> [GLfloat] -> Render () -> EitherT String IO (Consumer (Vector GLfloat) IO ())
- zeroAxes :: Int -> Int -> Double -> Double -> Render ()
- centeredAxes :: Int -> Int -> Double -> Double -> Double -> Render ()
Line Graphs
Arguments
| :: Int | Window width |
| -> Int | Window height |
| -> Int | Number of samples in each buffer |
| -> Int | Number of vertices in graph |
| -> EitherT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a dynamic line graph of the incoming data.
Arguments
| :: 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 |
| -> EitherT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a dynamic line graph of the incoming data. With Axes.
Waterfalls
Arguments
| :: Int | Window width |
| -> Int | Window height |
| -> Int | Number of columns |
| -> Int | Number of rows |
| -> [GLfloat] | The color map |
| -> EitherT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a waterfall of the incoming data.
Filled In Line Graphs
Arguments
| :: Int | Window width |
| -> Int | Window height |
| -> Int | Number of samples in each buffer |
| -> [GLfloat] | The color map |
| -> EitherT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a dynamic filled in line graph of the incoming data.
Arguments
| :: 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 |
| -> EitherT String IO (Consumer (Vector GLfloat) IO ()) |
Create a window and plot a dynamic filled in line graph of the incoming data. With Axes.