Convert time-dependent tabular 2D data to executable gnuplot scripts
$ usageinfo [OPTION]... INFILE
-
--man
Print the manual page and exit.
-
--help
Print a brief help message and exit.
Customize how data is read in.
-
--sep
= valueSet separation character for plain text files.
-
--sheet
= valueSet sheet number for spreadsheet files (default:
1
). -
--column
= abscol,ordcolSet numbers of abcissa column (default:
1
) and ordinate column (default:2
) separated by a comma. -
--dtfmt
= datespecSet date specifier accordint to strftime.
Customize how data is output.
-
-o
,--out
= filenameWrite output to specified output file instead of STDOUT.
-
-t
,--title
= stringUse specific Gnuplot title.
-
--ylabel
= valueUse specific Gnuplot label for ordinate axis (default:
undef
). -
--xformat
= valueUse specific Gnuplot label for ordinate tics (default:
undef
). -
--yformat
= valueUses specific Gnuplot label for ordinate tics (default:
undef
). -
--yrange
= valueUse specific Gnuplot range for ordinate axis (default:
undef
). -
-c
,--color
= colorspecUse specific Gnuplot color.
-
-r
,--rate
= ratespecShow 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
= numScale ordinate values by factor num (default:
1
). -
--term
= valueUse 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.
Customize how data is split.
-
-p
,--period
= stringSplit data with respect to periods into datasets. Avaliable options are
year
,month
,week
,day
,hour
(default:year
). -
-m
,--max
= numLimit 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.
- 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
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.
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.