Plotting Graph in Python using Matplotlib

Ankush Indulkar Feb 28, 2021

This Python Project is used to plot a Line Graph by using the Matplotlib library. It takes the coordinate's input from the user.

Line Graphs provide simple information to interpret data and provides information to form certain conclusions.

Firstly, you need to install the matplotlib module. For that type the following command :

pip install matplotlib

When the matplotlib module is installed then import it by using the following in your python program:

import matplotlib

We take input from the user regarding the number of x-coordinates and y-coordinates which are equal.

Then the plot function draws a line from the respective point to point.

The graph is then displayed on the output window.

Project Files

Loading...
..
This directory is empty.

Comments (0)

Leave a Comment