Ideally I'd like to be able to do something like that:
cut -d" " -f1 *.all | sort | uniq -c | sort -nr | sed -e "s/^ *//" | cut -d"
" -f1 | PLOT
Thanks
-
Guillaume Dargaud
http://www.gdargaud.net/
What if the intermediate file were /dev/stdin or /dev/fd/0?
(No promises that your system has those, but if it does, they probably
work.)
-s
--
Copyright 2009, all wrongs reversed. Peter Seebach / usenet...@seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
gnuplot accepts the output of commands with this syntax:
gnuplot> plot "< your_command_pipe" using ... with ...
And in a shell-script:
#!/bin/sh
gnuplot << EOF
[... put here the gnuplot-setting ...]
plot "< your_command_pipe" using ... with ...
EOF
LG
I use xgraph for this. Each line of input should contain an x value and
a y value, separated by whitespace. You can plot multiple data sets by
separating each set by an empty line. When I want to plot a sequence of
values, I pipe the sequence into nl to add x-axis values.
The last version I built was 12.1 which I got from
http://www.isi.edu/nsnam/xgraph and built for Solaris.
--
Gary Johnson