histogram – draw a histogram|
histogram [ –h ] [ –c index ] [ –r minx,miny,maxx,maxy ] [ –s scale
] [ –t title ] [ –v maxv ]|
Histogram reads numbers, one per line, from its standard input
and draws them as bars in a histogram. |
Use –c to set the color index for the graph. A modulus operation on the value keeps the color index within the available range.
Unless –h (hold) is given, histogram will exit when it reaches the end–of–file. It will exit immediately if it is interrupted or if the exit menu option is chosen.
–r sets the initial window rectangle coordinates.
–s sets the scaling factor.
–t sets the title displayed on a line above the histogram. The last value read is displayed to the right of the title.
–v sets the maximum value that can be expected.
Plot a sine wave:|