This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

PlotCat

plot-cat is the python library for plotting live serial input. plotcat works on python 2.7 and later. plotcat comes handy when you want to plot live data that is coming form different sensors over the serial port. For example you have to plot the output of a temperature sensor that is coming from an arduino or any other microcontroller for that matter; plotcat comes handy for such tasks.

plotcat sits on the top of matplotlib and does all the initialization and drawing stuff itself. you just have to provide the list of values to be plotted.

plotcat works on linux osx and windows. plotcat also works well with Raspberry Pi

install plotcat

git clone https://github.com/girish946/plot-cat.git

pip install -r requirements.txt

python install setup.py install

useage

To plot the incomming input from serial device directly.

Assuming there is one value on one line in the serial input, ie. the format of the serial input is roughly like: val r n

python live_plot.py -d /dev/tty<device> -b baudrate

detailed useage of live_plot.py.

plot-cat api

To use plot-cat api.

import serial
from plotcat import *

p = plotter()

#init serial device
ser = serial.Serial('/dev/ttyAMA0', 9600)

#the callback function for plotting
@p.plot_self
def update_plot():

    data = [ser.readline() for i in range(100)]
    p.lines[0][0].set_data(p.currentAxis, data)

p.set_call_back(update_plot)

this is the example to recive the data from arduino (given in the example->communication->SerialEvent of the arduino IDE.)

Release History

Release History

1.0.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
plotcat-1.0.0.1.tar.gz (15.8 kB) Copy SHA256 Checksum SHA256 Source Sep 23, 2016
plotcat-1.0.0.tar.gz (14.9 kB) Copy SHA256 Checksum SHA256 Source Aug 28, 2016
plotcat-1.0.1.tar.gz (16.2 kB) Copy SHA256 Checksum SHA256 Source Nov 1, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting