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