SyntaxFix
Write A Post
Hire A Developer
Questions
A simple way to plot sine wave in python using matplotlib.
import numpy as np import matplotlib.pyplot as plt x=np.arange(0,3*np.pi,0.1) y=np.sin(x) plt.plot(x,y) plt.title("SINE WAVE") plt.show()