Skip to main content

Plot multiple keys on multiple graphs in a pyfsdb/FSDB file.

Project description

About

multi-key-graph is a command line tool that invokes matplotlib to plot multiple keys on multiple graphs from an FSDB/pyfsdb data file (tab-separated with a header).

Installation

pip3 install multikeygraph

Usage

multi-key-graph is designed to:

  1. read in time-series data in FSDB format
  2. Plot data in columns (-c COLNAME1 ...) for a given key column value (-k KEY).
  3. Which key values to be plotted can be limited to a fixed list (-l VAL1 VAL2 ...)
  4. Save the results to an output PNG file (-o OUT.png) or a window (-i)

If multiple columns are specified, the output will contain multiple vertically stacked graphs with aligned X-axes allowing for easier comparison of noisy time-series plots.

Plot labels can be specified using -T TITLE, --xlabel X-LABEL, and --ylabel Y-LABEL. By default line plots are drawn, unless a dotted/scatter plot (-s) is requested. Data should be pre-sorted for line graphs.

A list of name=replacement values can be passed for legende name replacements (-L name=replacement). Anonymization of key values may be specified with an anonymization pattern that includes a %d specifier (-A "some%d").

Published

Author

Wes Hardaker @ USC/ISI

See also

The FSDB website and manual page for the original perl module:

https://www.isi.edu/~johnh/SOFTWARE/FSDB/

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

multikeygraph-1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

multikeygraph-1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file multikeygraph-1.0.tar.gz.

File metadata

  • Download URL: multikeygraph-1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for multikeygraph-1.0.tar.gz
Algorithm Hash digest
SHA256 a627e94e3e39bac7c0377ad76d1aa03d93a3544e1742ef1edb715ed598891ed0
MD5 222668a01b8083c23a21b741e73afdf9
BLAKE2b-256 1a703687896155eb101056d3cf085e42a6a4ba20d644ed81f8a94ea7dfcd4aa3

See more details on using hashes here.

File details

Details for the file multikeygraph-1.0-py3-none-any.whl.

File metadata

  • Download URL: multikeygraph-1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for multikeygraph-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acb0af4875efb6b7a00f0d32d6a4178adf25fcda1879191fef9f2831ede258bc
MD5 430cc6605beb916cdc06f3dc50fc37b2
BLAKE2b-256 9c55bd6deb0d9277c0cfca6ba3f26ae3bea8483b47305a1ded04ac73d8dba0dc

See more details on using hashes here.

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