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.2.3.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

multikeygraph-1.2.3-py3-none-any.whl (8.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