サンプルコード
local FNAME="$1"
splot "$FNAME" using 7:12:9 with points
# !/bin/sh
do_gnuplot() {
local FNAME="$1"
gnuplot << _EOT_
set terminal x11
set title "x:Weight y:Siboi z:ADL"
set xlabel "Weight"
set ylabel "Sibo"
set zlabel "ADL"
# 1 2 3 4 5 6 7 8 9 10 11 12 13 14
# date,FY,age,検診場所,age2,身長,体重,体脂肪率,総コレ,LDL,HDL,中性脂肪,γGTP,
set xrange[60:90]
set yrange[*:*]
set zrange[*:*]
set grid
splot "$FNAME" using 7:12:9 with points
_EOT_
}
do_gnuplot $1
echo "Hit any key"
read DMY