1
0
Fork 0
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:
Managor 2025-04-18 06:10:31 +03:00 committed by GitHub
parent 80a12d166e
commit 56942fb945
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: