https://github.com/k1low/tsplt
plot time series data
https://github.com/k1low/tsplt
plot time-series
Last synced: 4 days ago
JSON representation
plot time series data
- Host: GitHub
- URL: https://github.com/k1low/tsplt
- Owner: k1LoW
- License: mit
- Created: 2019-09-16T13:54:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T02:45:21.000Z (over 3 years ago)
- Last Synced: 2025-01-04T14:25:22.956Z (over 1 year ago)
- Topics: plot, time-series
- Language: Go
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tsplt
plot time series data
## Usage
``` console
$ cat ts.tsv | tsplt -o ts.png
```
``` console
$ tsplt -i ts.tsv -o ts.png
```
## Input time series data
Default delimiter : `\t`
| timestamp | d1 | d2 | ... |
| --- | --- | --- | --- |
| `[timestamp]` | number | number | ... |
| `[timestamp]` | number | number | ... |
| `[timestamp]` | number | number | ... |
| ... | ... | ... | ... |
### Timestamp format
tsplt parse `[timestamp]` using [araddon/dateparse](https://github.com/araddon/dateparse).
## Output plot image
Output plot image of [sample time series tsv](testdata/isucon.tsv).

## Install
**homebrew tap:**
```console
$ brew install k1LoW/tap/tsplt
```
**manually:**
Download binany from [releases page](https://github.com/k1LoW/tsplt/releases)
**go get:**
```console
$ go get github.com/k1LoW/tsplt
```