ttyplot icon indicating copy to clipboard operation
ttyplot copied to clipboard

Please add options softmin and hardmin

Open emk2203 opened this issue 6 years ago • 2 comments

During real-life use, it turns out that having minimum options would be convenient. Could they be added?

For something exceeding the max and min values, I propose to have a full bar with some marker for max and not drawing anything at all for min, to distinguish them.

emk2203 avatar Feb 16 '19 10:02 emk2203

For something exceeding the max and min values, I propose to have a full bar with some marker for max and not drawing anything at all for min, to distinguish them.

I submitted PR #21 just before you posted, adding a -C (clipping char) option to draw bars with a different character when the plot's max value is exceeded. For example:

while true; do echo ${RANDOM} ${RANDOM}; sleep 1; done | ttyplot -2 -C @ -m 2000 -t "random values"

gromgit avatar Feb 16 '19 14:02 gromgit

@tenox7 can this be closed as fixed by #47 or is anything still missing?

hartwork avatar Nov 30 '23 22:11 hartwork