Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.37 KB

File metadata and controls

36 lines (21 loc) · 1.37 KB

Live Graph Plot With Matplotlib In Python3

Live graph plotting with matplotlib in Python3 language.

Build for Linux and OSX:

Build Status License: MIT

Dependencies For MAC OS

$ [sudo] pip install matplotlib

Dependencies For Ubuntu, Debian

$ [sudo] apt-get install python3-matplotlib

Installation For MAC OS, Ubuntu, Debian

Steps:

$ git clone https://github.com/somdipdey/Live_Graph_Plot_With_Matplotlib_In_Python3.git
$ [sudo] mv Live_Graph_Plot_With_Matplotlib_In_Python3 liveplot
$ [sudo] cd liveplot

Usage

Can read contents in comma separated format (X,Y) from .TXT or .CSV file as follows:

$ [sudo] python live_plot.py my_csv_file_name.csv

Note:

Provide my_csv_file_name.csv or my_csv_file_name.txt (name of the file containing X,Y readings) from the same directory/folder or else provide the full path with 'sudo' command

Result/Output

Live graph plotting in action