From 3b2fedab626c3fe3a2ff0599cbb5d03b8264fb94 Mon Sep 17 00:00:00 2001 From: aadhar54 <36945867+aadhar54@users.noreply.github.com> Date: Wed, 27 Jun 2018 10:18:15 +0530 Subject: [PATCH] Add files via upload --- helo3.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 helo3.py diff --git a/helo3.py b/helo3.py new file mode 100644 index 0000000..8ba87a2 --- /dev/null +++ b/helo3.py @@ -0,0 +1,14 @@ +# importing the required modules +import matplotlib.pyplot as plt +import numpy as np + +# setting the x - coordinates +x = np.arange(0, 2*(np.pi), 0.1) +# setting the corresponding y - coordinates +y = np.sin(x) + +# potting the points +plt.plot(x, y) + +# function to show the plot +plt.show()