Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
Matplotlib is a plotting library for Python. It is used along with NumPy to provide an environment that is an effective open source alternative for MatLab.
how to install Numpy and Matplotlib library
cmd:
c:/> pip install numpy
c:/>pip install matplotlib
import numpy as np
import matplotlib.pyplot as plt
a=[0,1,2,3,4,6,7,8]
b=[0,3,5,7,9,11,13,15]
plt.plot(a,b)
plt.show()
Comments
Post a Comment