set datafile separator ' ' CSV_FILE = '/var/www/html/hp/IMG/体内年齢_BodayAge2.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-11-01':'2025-12-01'] set xtics 86400 #set xtics "2025-11-01",86400 set xtics rotate by -90 #set colorsequence classic #set colorsequence podo set linetype 5 lc rgb "olive" lw 1 set ylabel '体内年齢' set yrange [51.9:57.1] set y2label '体内年齢' set y2range [51.9:57.1] set y2tics #set mxtics 2 #set mytics 2 set grid xtics ytics mxtics mytics set key below set title '体内年齢/BodayAge (2025-11-01 - 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/体内年齢_BodayAge2.png' set arrow from '2025-11-02',51.9 to '2025-11-02',57.1 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-09',51.9 to '2025-11-09',57.1 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-16',51.9 to '2025-11-16',57.1 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-23',51.9 to '2025-11-23',57.1 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-30',51.9 to '2025-11-30',57.1 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-01',55.2 to '2025-12-01',55.2 nohead lw 1 dt (4,6) lc rgb "dark-red" set arrow from '2025-11-01',55.7 to '2025-12-01',55.7 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 x1y1 with lines linewidth 1 title '体内年齢-7'\ ,CSV_FILE using 1:4 axis x1y1 with lines linewidth 1 dt (1,2) lc "gray50" title '体内年齢'\ exit