filename improvement
This commit is contained in:
@@ -16,12 +16,14 @@
|
||||
exit
|
||||
}
|
||||
|
||||
fbase=$( basename "$1" )
|
||||
|
||||
csvcut -t -c "$2,$3" "$1" | gnuplot -e "
|
||||
set term dumb $(tput cols) $(tput lines) enhanced;
|
||||
set datafile separator \",\";
|
||||
set xlabel '$2';
|
||||
$5
|
||||
plot '<cat' using 1:2 title '$1 $3' $4"
|
||||
plot '<cat' using 1:2 title '$fbase $3' $4"
|
||||
|
||||
[[ $? -ne 0 ]] && {
|
||||
echo -n "Possible columns: "
|
||||
|
||||
Reference in New Issue
Block a user