gpolezero
- module gpolezero
Functions
- get_arguments()
- main()
gpolezero [ option ] [ infile ] outfile
-F float
scale of figure
-W int
width of figure in pixels
-H int
height of figure in pixels
-g
draw grid
-q int
input format
-p str
name of file containing poles
-z str
name of file containing zeros
-x float float
x-axis limits
-y float float
y-axis limits
-mc str
marker color
-mw int
marker size
-mlc str
marker line color
-mlw int
marker line width
infile str
double-type roots
outfile str
figure
The below example draws the poles and zeros of the transfer function:
\[ H(z) = \frac{2z^2 + 3z + 1}{z^2 + 0.8z + 0.5}. \]echo 2 3 1 | x2x +ad | root_pol -m 2 > data.z echo 1 0.8 0.5 | x2x +ad | root_pol -m 2 > data.p gpolezero -p data.p -z data.z out.png
See also