Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Plot graph
Original file line number Diff line number Diff line change
@@ -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()