set datafile separator ' ' CSV_FILE = '/var/www/html/hp/IMG/基礎代謝+筋肉量_BasalMetabolicRate_and_MuscleMass1.csv.txt' set style fill solid 0.2 set xdata time set timefmt '%Y-%m-%d' set format x '%m/%d/%Y' #'%H:%M %m-%d' set xrange ['2025-09-02':'2025-12-01'] set xtics 604800 #set xtics "2025-09-02",604800 set xtics rotate by -90 #set colorsequence classic #set colorsequence podo set linetype 5 lc rgb "olive" lw 1 set ylabel '基礎代謝量' set yrange [1470:1580] set y2label '筋肉量' set y2range [51.7:53.2] set y2tics #set mxtics 2 #set mytics 2 set grid xtics ytics mxtics mytics set key below set title '基礎代謝+筋肉量/BasalMetabolicRate and MuscleMass (2025-09-02 - 2025-12-01)' font "IPAexゴシック,12" enhanced #set xlabel 'date' #Y_MIN = GPVAL_Y_MIN #Y_MAX = GPVAL_Y_MAX set terminal pngcairo size 1024, 400 font "IPAexゴシック,8" enhanced set output '/var/www/html/hp/IMG/基礎代謝+筋肉量_BasalMetabolicRate_and_MuscleMass1.png' set arrow from '2025-09-07',1470.0 to '2025-09-07',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-14',1470.0 to '2025-09-14',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-21',1470.0 to '2025-09-21',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-28',1470.0 to '2025-09-28',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-05',1470.0 to '2025-10-05',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-12',1470.0 to '2025-10-12',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-19',1470.0 to '2025-10-19',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-26',1470.0 to '2025-10-26',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-02',1470.0 to '2025-11-02',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-09',1470.0 to '2025-11-09',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-16',1470.0 to '2025-11-16',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-23',1470.0 to '2025-11-23',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-30',1470.0 to '2025-11-30',1580.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-02',1507.3 to '2025-12-01',1507.3 nohead lw 1 dt (4,6) lc rgb "dark-red" set arrow from '2025-09-02',52.3 to '2025-12-01',52.3 nohead lw 1 dt (4,6) lc rgb "blue" set arrow from second '2025-09-02',52.3 to second '2025-12-01',52.3 nohead lw 1 dt (4,6) lc rgb "dark-red" set arrow from second '2025-09-02',52.0 to second '2025-12-01',52.0 nohead lw 1 dt (4,6) lc rgb "blue" plot CSV_FILE using 1:2 axis x1y1 with lines linewidth 2 title '基礎代謝量-30'\ ,CSV_FILE using 1:3 axis x1y2 with lines linewidth 2 title '筋肉量-30'\ ,CSV_FILE using 1:4 axis x1y1 with lines linewidth 1 dt (1,2) title '基礎代謝量-7'\ ,CSV_FILE using 1:5 axis x1y2 with lines linewidth 1 dt (1,2) title '筋肉量-7'\ ,CSV_FILE using 1:6 axis x1y1 with lines linewidth 1 dt (1,2) lc "gray50" title '基礎代謝量'\ ,CSV_FILE using 1:7 axis x1y1 with lines linewidth 1 dt (1,2) lc "gray50" title '筋肉量'\ exit