8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8299ebb + 7ae6d0a commit 15dc5ceCopy full SHA for 15dc5ce
control/rlocus.py
@@ -180,7 +180,7 @@ def root_locus(sys, kvect=None, xlim=None, ylim=None,
180
fig.axes[1].plot(
181
[root.real for root in start_mat],
182
[root.imag for root in start_mat],
183
- 'm.', marker='s', markersize=8, zorder=20, label='gain_point')
+ marker='s', markersize=8, zorder=20, label='gain_point')
184
s = start_mat[0][0]
185
if isdtime(sys, strict=True):
186
zeta = -np.cos(np.angle(np.log(s)))
@@ -628,7 +628,7 @@ def _RLFeedbackClicksPoint(event, sys, fig, ax_rlocus, sisotool=False):
628
ax_rlocus.plot(
629
[root.real for root in mymat],
630
[root.imag for root in mymat],
631
632
else:
633
ax_rlocus.plot(s.real, s.imag, 'k.', marker='s', markersize=8,
634
zorder=20, label=' 8000 ;gain_point')
control/sisotool.py
@@ -81,10 +81,10 @@ def sisotool(sys, kvect=None, xlim_rlocus=None, ylim_rlocus=None,
81
82
# Setup sisotool figure or superimpose if one is already present
83
fig = plt.gcf()
84
- if fig.canvas.get_window_title() != 'Sisotool':
+ if fig.canvas.manager.get_window_title() != 'Sisotool':
85
plt.close(fig)
86
fig,axes = plt.subplots(2, 2)
87
- fig.canvas.set_window_title('Sisotool')
+ fig.canvas.manager.set_window_title('Sisotool')
88
89
# Extract bode plot parameters
90
bode_plot_params = {
0 commit comments