feature request: set minimum
EpicWink opened this issue · comments
Option to set vertical axis minimum.
Currently, the minimum on the vertical axis is 0. If the value plotted fluctuates around a high value, a lot of the resolution of the fluctuations is lost due to most of the graph representing the baseline.
This is a proposal to have a command-line parameter to set the minimum of the vertical scale (similar to the maximum value, I suppose)
Thanks for this. Someone already asked about this before but was unclear of the details. This is a much better description of the problem.
What should ttyplot do if it receives a value lower than min? Should it draw some error indicator or just ignore it? Should I think of two flags softmin/hardmin like softmax/hardmax?
I always believe in keeping the API consistent, so yes, corresponding 'minimum' versions of -s
(initial maximum / softmax) and -m
(error-above maximum / hardmax)
I see that the PR for this issue was closed a while ago. Are there any plans to implement this/use the code from the closed PR?
Yeah I would, unsure why the PR was closed. Perhaps OP could shed some light on this?
This issue's OP has no coverage on the associated PR :)
the pr is merged!