From 769a5e53ae59c5a9d5e6278083896c8a912b35db Mon Sep 17 00:00:00 2001 From: Suyash458 Date: Fri, 26 Aug 2016 18:46:25 +0530 Subject: [PATCH] Added pen colors, view.show() on start() and readme update --- readme.md | 12 ++++++------ requirements.txt | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index f8c8566..1acd340 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,5 @@ # Software Oscilloscope -An ongoing python project which takes in data from any stream(Serial port, TCP socket or any generic stream) and plot it in real time using matplotlib. The stream must implement open(), close() and readline() methods +An ongoing python project which takes in data from any stream(Serial port, TCP socket or any generic stream) and plot it in real time using PyQtGraph. The stream must implement open(), close() and readline() methods to work with the package. ## Installation @@ -10,7 +10,8 @@ to work with the package. * run `pip -install -r "requirements.txt"` ### Dependencies -* matplotlib +* pyqtgraph +* PySide or PyQt 4.8+ * numpy * pySerial @@ -54,10 +55,9 @@ Takes a generic stream and sets custom parameters ### Demos -Serial | Socket -:------------------------------------------:|:-------------------------------------------: -![alt tag](http://i.imgur.com/OWu5wBS.gif) |![alt tag](http://i.imgur.com/xwUVAz4.gif) -Plotting data from an Ultrasonic sensor | Plotting a sine wave from a TCP socket +Serial Plot +![alt tag](http://imgur.com/zu63yun.gif) +Plotting x,y,z data from a 9DOF IMU ### Contributions diff --git a/requirements.txt b/requirements.txt index df18f22..432c442 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ -matplotlib==1.5.0 +pyqtgraph==0.9.10 +PySide==1.2.4 pyserial==2.7 numpy==1.10.1 \ No newline at end of file