mirror of
https://github.com/romanz/amodem.git
synced 2026-03-17 15:16:00 +08:00
constellation: show phase transition trails
This commit is contained in:
@@ -277,7 +277,7 @@ def main(args):
|
||||
|
||||
def constellation(y, symbols, title):
|
||||
theta = np.linspace(0, 2*np.pi, 1000)
|
||||
pylab.plot(y.real, y.imag, '.')
|
||||
pylab.plot(y.real, y.imag, '.:')
|
||||
pylab.plot(np.cos(theta), np.sin(theta), ':')
|
||||
points = np.array(symbols)
|
||||
pylab.plot(points.real, points.imag, '+')
|
||||
|
||||
Reference in New Issue
Block a user