fdrw

module fdrw

Functions

get_arguments()
main()

fdrw [ option ] [ infile ] outfile

  • -F float

    • scale of figure

  • -W int

    • width of figure in pixels

  • -H int

    • height of figure in pixels

  • -M int or str

    • margin around image in pixels

  • -g

    • draw grid

  • -t

    • transpose axis

  • -b

    • set as bar graph mode

  • -n int

    • number of samples per graph

  • -z float

    • distance between graphs in the y-axis (requires -n option)

  • -x float float

    • x-axis limits

  • -y float float

    • y-axis limits

  • -xname str

    • x-axis title

  • -yname str

    • y-axis title

  • -names str

    • comma-separated graph names (if empty, hide legends)

  • -xbias float

    • bias of x-axis

  • -xscale float

    • scale of x-axis

  • -ls str

    • line style (solid, dash, dot, or dashdot)

  • -lc str

    • line color

  • -lw float

    • line width

  • -ms int

    • marker symbol

  • -mc str

    • marker color

  • -mw float

    • marker size

  • -mlc str

    • marker line color

  • -mlw float

    • marker line width

  • -ff str

    • font family

  • -fs int

    • font size

  • infile str

    • double-type data sequence

  • outfile str

    • figure

The below example draws the impulse response of a digital filter on out.png.

impulse -l 256 | dfs -a 1 0.8 0.5 | fdrw out.png

The below example draws two sinusoidal lines from an input sequence.

sin -l 256 -p 50 | fdrw -n 128 -names 1st,2nd out.png