$ gnuplot -persist <(echo "plot '<(sort -n listOfNumbers.txt)' with lines")
Useful when you've produced a large file of numbers, and want to quickly see the distribution. The value of y halfway along the x axis is the median. Simple!
Just create the listOfNumbers.txt file with a number on each line to try it out.
Submitted by penthief
Options:
commandlinefu.com by David Winterbottom
0sem comentários ainda