Draw the root locus using python

Introduction

Use python to realize the simple drawing of the root locus, use pyinstaller to package, and click the exe file in the dist folder to run it.

running result

For example, draw the root locus of the open-loop transfer function as shown in the figure below:
open loop communication
the coefficients of the numerator are: 1, and
the coefficients of the denominator of 10 are: 1, 3, 2, 0.
running interface
After enter, it is shown as follows:
Root Locus Diagram
and then attach the matlab drawing Situation:
insert image description here
The program is currently very crude, and maybe other content will be updated in the future (pigeon).
refer to:

https://blog.csdn.net/kingyuan666/article/details/83418230

Guess you like

Origin blog.csdn.net/qq_39917739/article/details/118569433