Menu

Tree [b8a627] default tip /
 History

Read Only access


File Date Author Commit
 config 3 days ago Roman Belov Roman Belov [588a50] Added demultiplex operation, subtract resample ...
 doc 2024-11-19 Roman Belov Roman Belov [6e5c89] Fixed README.md.
 src 3 days ago Roman Belov Roman Belov [b8a627] Updated copyright year.
 .hgignore 2022-03-13 Roman Belov Roman Belov [0a8183] Fixed MinGW build.
 COPYING 2023-04-30 Roman Belov Roman Belov [d31e5b] Improved line drawing performance.
 README.md 3 days ago Roman Belov Roman Belov [588a50] Added demultiplex operation, subtract resample ...

Read Me

Graph Plotter

GP is aimed to be simple and fast tool to analyse numerical data. It does not
claim to replace all other plotters. The main platforms are GNU/Linux and
Windows. GP can be embedded to any third-party SDL based application.

Features

  • Plot 2D figures with lines or dots from plain text or binary files.
  • Spatial structure based rendering to look through a large datasets.
  • Multiple axes are supported by design.
  • Real-time plotting from multiple asynchronous sources.
  • Math operations like subtraction or polynomial fitting.
  • Data sample tool to extract accurate numeric values.
  • Static (from file) and dynamic (from UI) configuration.
  • Export screen or data to the file (PNG, SVG, CSV).
  • In-RAM data compression by LZ4.

Screenshots

GP4
GP5

Build

These dependencies you need to have prior to compile GP from sources.

To compile GP you could use Makefile from source directory.

Usage

You can just use GP to view a plain text file or CSV table.

$ gp file.txt file.csv ...

Note that first valid line of plain text (or CSV) file will be interpreted as
description of the columns. Here is a simple example of the plain text file.

$ cat file.txt
time@sec  current@A  voltage@V  hexvar  ...
0.1       0.0        0.0        0x0001
0.2       1.1        2.1        0x0035
0.3       1.5        3.4        0x0d1f
0.4       1.7        4.1        0x0e00
...

You also can open a multiple files to combine various columns from different
files in a single plot. Explore UI menu options to overview of all features.

Also check for command line options help.

$ gp -h

Example of pipeline usage with GP.

$ zcat config/tlmgrab.csv.gz | gp -x0 -l1 -t10 - -p3 -n4

Сonfiguration

Take a look into configuration examples that describes most of the options.

You can make real-time plot from raw serial device or from growing logfile.

TODO

  • Improve embedded API.
  • Add a dependency based subtract calculation.
  • Optimize line drawing performance even more.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.