../../_images/plot_simple_1.png

Python source code: plot_simple.py

import matplotlib.pyplot as plt
X = np.linspace(-np.pi,np.pi,100)
Y = np.sin(X)
plt.plot(X, Y, linewidth=2)
plt.show()

Total running time of the example: 0.00 seconds ( 0 minutes 0.00 seconds)