Created
October 20, 2021 17:51
-
-
Save GastonMazzei/d1e84aa52cfd4a5c9e4e888a7710f8d7 to your computer and use it in GitHub Desktop.
cute_plot.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
x=np.linspace(0,15,100) | |
y=np.sin(x) | |
plt.scatter(x,y) | |
plt.plot(x,y) | |
plt.title('PMF of the $2^n$ different possible phases') | |
plt.ylabel('Probability (0-1)') | |
plt.xlabel(r'$\frac{2^n phase}{2\pi}$') | |
plt.grid() | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment