Skip to content

Commit 382b4e9

Browse files
author
Victor
committed
Tweaked axis lines and zero/pole markers.
1 parent 0d1b609 commit 382b4e9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

control/pzmap.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ def pzmap(sys, Plot=True, title='Pole Zero Map'):
112112

113113
# Plot the locations of the poles and zeros
114114
if len(poles) > 0:
115-
plt.scatter(real(poles), imag(poles), s=50, marker='x')
115+
plt.scatter(real(poles), imag(poles), s=50, marker='x', facecolors='k')
116116
if len(zeros) > 0:
117117
plt.scatter(real(zeros), imag(zeros), s=50, marker='o',
118-
facecolors='none')
118+
facecolors='none', edgecolors='k')
119119
# Add axes
120120
#Somewhat silly workaround
121-
plt.axhline(y=0, color='black')
122-
plt.axvline(x=0, color='black')
121+
plt.axhline(y=0, color='black', lw=1)
122+
plt.axvline(x=0, color='black', lw=1)
123123
plt.xlabel('Re')
124124
plt.ylabel('Im')
125125

0 commit comments

Comments
 (0)