Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add pole-zero plot #12

Open
mxxmxn opened this issue Apr 18, 2024 · 2 comments
Open

Feature request: Add pole-zero plot #12

mxxmxn opened this issue Apr 18, 2024 · 2 comments

Comments

@mxxmxn
Copy link

mxxmxn commented Apr 18, 2024

I don't know if it fits in this package, but it would be great to add pole-zero plots.

A basic example looks as follows:
image

Ideally, the scaling would be logarithmic or linear with the Option for different tik labels (dB or powers of ten) and the matching tiks/grid. Please make the positive/negative sections of a axis configurable to cover separate values (like $-10^5$ to $-10^1$ on negative real axis and $10^{-3}$ to $10^1$ on positive real axis).

@rlkamalapurkar
Copy link
Owner

It does, I just haven't had time to add something like this. If transfer functions are passed using the zpk format, it should be doable.

If they are passed in tf format, I am not so sure. LaTeX wasn't made for things like finding roots of polynomials :-)

I can try to hack together a solution for the zpk format, but it might be a while!

@mxxmxn
Copy link
Author

mxxmxn commented Apr 23, 2024

Sounds great.
I think zpk format is sufficient. There are other solutions to convert a tf in zpk, so I think there is no need to do it in LaTeX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants