From 24f83493d7a7bb007ebfd7c42a6a36e34bd1de15 Mon Sep 17 00:00:00 2001 From: khushi11saxena <103021512+khushi11saxena@users.noreply.github.com> Date: Tue, 11 Oct 2022 13:16:33 +0530 Subject: [PATCH] Create Plot graph --- Plot graph | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Plot graph diff --git a/Plot graph b/Plot graph new file mode 100644 index 0000000..04bd374 --- /dev/null +++ b/Plot graph @@ -0,0 +1,18 @@ +import matplotlib.pyplot as plt + +# x-axis values +x = [2,4,7,9] + +# Y-axis values +y = [3,5,8,10] + +# Function to plot +plt.plot(x,y,marker='*') + +plt.xlabel('x') + +plt.ylabel('y') + +plt.title('Line Plot') +# function to show the plot +plt.show()