Skip to main content

A commandline app for plotting datafiles

Project description

CLI Plot

A commandline app for parsing and plotting text data files.

Installation

Using Pip

  $ pip install cli-plot

Manual

  $ git clone https://github.com/John-Lee-Cooper/cli_plot
  $ cd cli_plot
  $ python setup.py install

Usage

$ cli_plot --version
$ cli_plot --help

Generate demo

Generate and display some sample data, written to demo.dat

$ cli_plot --demo

cli-plot

User Interface

Key Result
g Toggle Grid
t Cycle Plot Type
m Toggle Series Markers
1-9 Toggle Series 1-9 Display
enter Save Plot to png Image
escape Exit

Holding the left mouse button down and moving the mouse will pan the plot.
Rolling the mouse wheel up and down will zoom out and in where the mouse is.

Display head of file

$ cli_plot demo.dat --type=head

Plot specific columns

Plot sin and growth against time:

$ cli_plot demo.dat time sin damp

cli-plot

Plot pairs of columns

Plot columns 2 against column 1 and column 4 against column 3:

$ cli_plot demo.dat 2,3 1,4

cli-plot

Specify plot type

Plot data as a scatter plot:

$ cli_plot demo.dat --type=scatter

cli-plot

Todo

Written by

John Lee Cooper
john.lee.cooper@gatech.edu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cli_plot-1.1.2.tar.gz (24.1 kB view hashes)

Uploaded Source

Built Distributions

cli_plot-1.1.2-py3.9.egg (28.4 kB view hashes)

Uploaded Source

cli_plot-1.1.2-py3-none-any.whl (25.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page