set datafile separator ' ' CSV_FILE = '/var/www/html/hp/IMG/体重+体脂肪率_Weight_and_BodyFatPercentage1.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 [70.4:73.5] set y2label '体脂肪率' set y2range [20.6:24.9] set y2tics #set mxtics 2 #set mytics 2 set grid xtics ytics mxtics mytics set key below set title '体重+体脂肪率/Weight and BodyFatPercentage (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/体重+体脂肪率_Weight_and_BodyFatPercentage1.png' set arrow from '2025-09-07',70.4 to '2025-09-07',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-14',70.4 to '2025-09-14',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-21',70.4 to '2025-09-21',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-28',70.4 to '2025-09-28',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-05',70.4 to '2025-10-05',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-12',70.4 to '2025-10-12',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-19',70.4 to '2025-10-19',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-26',70.4 to '2025-10-26',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-02',70.4 to '2025-11-02',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-09',70.4 to '2025-11-09',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-16',70.4 to '2025-11-16',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-23',70.4 to '2025-11-23',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-30',70.4 to '2025-11-30',73.5 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-02',72.2 to '2025-12-01',72.2 nohead lw 1 dt (4,6) lc rgb "dark-red" set arrow from '2025-09-02',23.6 to '2025-12-01',23.6 nohead lw 1 dt (4,6) lc rgb "blue" set arrow from second '2025-09-02',23.6 to second '2025-12-01',23.6 nohead lw 1 dt (4,6) lc rgb "dark-red" set arrow from second '2025-09-02',23.8 to second '2025-12-01',23.8 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 title '体重-7'\ ,CSV_FILE using 1:5 axis x1y2 with lines linewidth 1 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 x1y2 with lines linewidth 1 dt (1,2) lc "gray50" title '体脂肪率'\ exit