Replies: 1 comment 2 replies
-
This does not seem like an issue with python-control per se, but rather, you want to create an interactive plot using Matplotlib or some other plotting library. Is that correct? If so, try to use https://matplotlib.org/stable/gallery/widgets/slider_demo.html as a template. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I'm looking for a way to adjust a parameter (Xi) of my transfer function with horizontal slider widget.
I can't find a way to update the Bode plot with the slider value.
here is the extract of my code :
def f(Xi):
return Xi
interact(f, Xi=(0.0,2.0,0.01));
Power_Stage_TF = control.tf([1],[(1/w0)**2,2Xi1/w0,1])
fig = plt.figure()
output = control.bode_plot(Power_Stage_TF, Hz=True)
Beta Was this translation helpful? Give feedback.
All reactions