Skip to main content

A stream-based realtime scientific data plotter

Project description

NAME

rplot - stream-based real-time scientific data plotter

video

SYNOPSIS

rplot [-cfD] [-h n[,n...]] [-m rows] [-w window] [-F fps]

DESCRIPTION

This manual page documents rplot, a stream-based real-time scientific data plotter written in Python. rplot reads a stream of data, which is a series of lines, each of which contains one or more numeric values. rplot interprets those numbers in the stream and display a two-dimensional plot for multiple data series on-the-fly.

rplot is a handy tool for visualizing a large amount of scientific data, which are typically generated from, for instance, an instance of running computer simulation program.

rplot continuously read lines from the standard input. The format of the input stream is a simple white-space-separated numeric values. Each field must be a valid string interpretable by Python's float() function. Every field may be optionally prefixed by a label, which is automatically parsed and removed by rplot.

One notable features of rplot is that it supports both the GUI and the CUI mode; i.e., visualization on graphic terminals based on PyGame (built on SDL library) and visualization on text terminals based on Curses library. If you prefer to watch the fine details of scientific data, running rplot in the GUI mode is suitable. On the other hand, if you prefer to quickly grasp the dynamics of scientific data, running rplot in the CUI mode is a better choice since the CUI mode runs ultra-fast.

During the visualization, you can tweak the output of rplot. The current version of rplot supports the following commands.

  • 0 -- 9

    Turn on and off the selected data series (e.g., pressing 0 toggles the display of the first data series).

  • Ctrl-a

    Rewind to the beginning of the input stream.

  • Ctrl-e

    Display all available data stream, which have been already parsed from the standard input.

  • Ctrl-f, Ctrl-b

    Change the range of the display window. Both Ctrl-f and Ctrl-b enlarge the current window of the display, but the direction of enlargement is different.

  • f

    Fill all the time series in different colors.

  • q, ESC

    Terminate the rplot program.

OPTIONS

TBD

INSTALLATION

$ pip3 install rplot

AVAILABILITY

The latest version of rplot is available at PyPI (https://pypi.org/project/rplot/) .

AUTHOR

Hiroyuki Ohsaki <code[atmark]lsnl.jp>

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

rplot-1.9.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rplot-1.9-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file rplot-1.9.tar.gz.

File metadata

  • Download URL: rplot-1.9.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for rplot-1.9.tar.gz
Algorithm Hash digest
SHA256 4cab30e6b4c66d6e47606d2e79733fddbff9b3de04b52ade1eaa9acbe96d0fa4
MD5 be05f1e5d854cf2f281a286cc449c115
BLAKE2b-256 0f6c10b7e709535b5b20343c9c805b26fe0feab9dad222a404f821957e8e6fbf

See more details on using hashes here.

File details

Details for the file rplot-1.9-py3-none-any.whl.

File metadata

  • Download URL: rplot-1.9-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for rplot-1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1231340d9be4f1989aecf7f77f6b4813f4aa4f42ef0a73e706811ee78849c828
MD5 99faa610f0fc20ae8faeb92faeffee16
BLAKE2b-256 bd2aacbb02ec887e8231a4dbd3a9cc7df3ec2d9a8b829bf6d989bd6e05676238

See more details on using hashes here.

Supported by

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