mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:22:08 +02:00
ttyplot: fix page (#16184)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
80a12d166e
commit
56942fb945
1 changed files with 3 additions and 3 deletions
|
@ -3,13 +3,13 @@
|
||||||
> A realtime plotting utility for the command-line with data input from `stdin`.
|
> A realtime plotting utility for the command-line with data input from `stdin`.
|
||||||
> More information: <https://github.com/tenox7/ttyplot>.
|
> More information: <https://github.com/tenox7/ttyplot>.
|
||||||
|
|
||||||
- Plot the values `1`, `2` and `3` (`cat` prevents ttyplot to exit):
|
- Plot the values `1`, `2` and `3` (Note: `cat` prevents `ttyplot` from exiting):
|
||||||
|
|
||||||
`{ echo {{1 2 3}}; cat } | ttyplot`
|
`{ echo {{1 2 3}}; cat; } | ttyplot`
|
||||||
|
|
||||||
- Set a specific title and unit:
|
- Set a specific title and unit:
|
||||||
|
|
||||||
`{ echo {{1 2 3}}; cat } | ttyplot -t {{title}} -u {{unit}}`
|
`{ echo {{1 2 3}}; cat; } | ttyplot -t {{title}} -u {{unit}}`
|
||||||
|
|
||||||
- Use a while loop to continuously plot random values:
|
- Use a while loop to continuously plot random values:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue