nahue-passano commited on
Commit
e41e8b5
1 Parent(s): 48a91b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -47,11 +47,12 @@ def main():
47
 
48
  # Plot the signals
49
  fig = plt.figure(figsize=(10, 4))
 
 
50
  plt.axvline(freq, color="black", alpha=0.5, linestyle=":", label=r"$\omega_0$")
51
  plt.plot(dtft_freqs_rad, np.abs(dtft_result), color="red", label="DTFT")
52
  plt.stem(dft_freqs_rad, np.abs(dft_result), markerfmt="C0o", label="DFT")
53
- plt.axvline(np.pi, color="black", linestyle="--")
54
- plt.axvline(-np.pi, color="black", linestyle="--")
55
 
56
  plt.xlabel("Frecuencia angular [rad]")
57
  plt.ylabel("Magnitud de la transformada normalizada")
 
47
 
48
  # Plot the signals
49
  fig = plt.figure(figsize=(10, 4))
50
+ plt.axvline(np.pi, color="black", linestyle="--")
51
+ plt.axvline(-np.pi, color="black", linestyle="--")
52
  plt.axvline(freq, color="black", alpha=0.5, linestyle=":", label=r"$\omega_0$")
53
  plt.plot(dtft_freqs_rad, np.abs(dtft_result), color="red", label="DTFT")
54
  plt.stem(dft_freqs_rad, np.abs(dft_result), markerfmt="C0o", label="DFT")
55
+
 
56
 
57
  plt.xlabel("Frecuencia angular [rad]")
58
  plt.ylabel("Magnitud de la transformada normalizada")