GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mboljen/usageinfo-gnuplot: Convert time-dependent tabular 2D data to executable gnuplot scripts

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
.gitignore
.gitignore
 
 
COPYING
COPYING
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

Repository files navigation

usageinfo-gnuplot

Convert time-dependent tabular 2D data to executable gnuplot scripts

Synopsis

$ usageinfo [OPTION]... INFILE

Options

  • --man

    Print the manual page and exit.

  • --help

    Print a brief help message and exit.

Reading data

Customize how data is read in.

  • --sep = value

    Set separation character for plain text files.

  • --sheet = value

    Set sheet number for spreadsheet files (default: 1).

  • --column = abscol,ordcol

    Set numbers of abcissa column (default: 1) and ordinate column (default: 2) separated by a comma.

  • --dtfmt = datespec

    Set date specifier accordint to strftime.

Writing data

Customize how data is output.

  • -o, --out = filename

    Write output to specified output file instead of STDOUT.

  • -t, --title = string

    Use specific Gnuplot title.

  • --ylabel = value

    Use specific Gnuplot label for ordinate axis (default: undef).

  • --xformat = value

    Use specific Gnuplot label for ordinate tics (default: undef).

  • --yformat = value

    Uses specific Gnuplot label for ordinate tics (default: undef).

  • --yrange = value

    Use specific Gnuplot range for ordinate axis (default: undef).

  • -c, --color = colorspec

    Use specific Gnuplot color.

  • -r, --rate = ratespec

    Show first derivative of ordinate values with respect to ratespec. Available options are: year, month, week, day, hour, min, sec. Alternatively, a custom period can be specified in seconds.

  • -s, --scale = num

    Scale ordinate values by factor num (default: 1).

  • --term = value

    Use sepecific Gnuplot terminal and option (default: undef).

  • -g, --gnuplot [= command ]

    Run gnuplot on output and raise X window. Set terminal to qt. Submitting the command is optional. If no command is defined, the system will try to auto-detect the location of gnuplot.

Splitting data

Customize how data is split.

  • -p, --period = string

    Split data with respect to periods into datasets. Avaliable options are year, month, week, day, hour (default: year).

  • -i, --interpolation = string

    Specify interpolation method for period boundaries. Available options are: C, C (default: cspline).

  • -m, --max = num

    Limit output to latest num datasets. Set to zero to include all available datasets (default: 0).

  • --reset

    Reset ordinate values to zero at the start of each dataset.

Requirements

  • Math::Derivative - Numeric 1st and 2nd order differentiation
  • Math::Spline - Cubic Spline Interpolation of data
  • Spreadsheet::Read::Simple - Simple parsing of spreadsheets
  • Time::Piece - Object Oriented time objects
  • Time::Seconds - API to convert seconds to other data values

Installation

Clone the remote repository and change into the local repository:

$ git clone https://github.com/mboljen/usageinfo-gnuplot
$ cd usageinfo-gnuplot

Use the following command to install this software:

$ make
$ make install

The default PREFIX is set to /usr/local. In order to successfully complete the installation, you need to have write permissions for the installation location.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Convert time-dependent tabular 2D data to executable gnuplot scripts

Topics

gnuplot-scriptlogfile-parsermonitoringperl

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.