Plotting Points using Matplotlib || Python
In this we are going to see a basic program to Plotting Points using Matplotlib in Python Programming Language.


import matplotlib.pyplot as plt
import numpy as np

x = np.array([1, 3, 5, 7, 9])
y = np.array([12, 14, 16, 18, 110])

plt.plot(x, y)
plt.show()

# Coded by Saahil

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post