set datafile separator ' ' CSV_FILE = '/var/www/html/hp/IMG/体水分率+筋肉量_BodyWaterPercentage_MuscleMass0.csv.txt' set style fill solid 0.2 set xdata time set timefmt '%Y-%m-%d' set format x '%m/%Y' #'%H:%M %m-%d' set xrange ['2023-12-02':'2025-12-01'] set xtics 2678400 #set xtics "2023-12-02",2678400 set xtics rotate by -90 #set colorsequence classic #set colorsequence podo set linetype 5 lc rgb "olive" lw 1 set ylabel '体水分率' set yrange [46.4:50.9] set y2label 'MuscleMass' set y2range [50.9:54.2] set y2tics #set mxtics 2 #set mytics 2 set grid xtics ytics mxtics mytics set key below set title '体水分率+筋肉量/BodyWaterPercentage MuscleMass (2023-12-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/体水分率+筋肉量_BodyWaterPercentage_MuscleMass0.png' set arrow from '2023-12-25',46.4 to '2023-12-25',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-01-25',46.4 to '2024-01-25',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-02-25',46.4 to '2024-02-25',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-03-27',46.4 to '2024-03-27',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-04-27',46.4 to '2024-04-27',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-05-28',46.4 to '2024-05-28',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-06-28',46.4 to '2024-06-28',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-07-29',46.4 to '2024-07-29',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-08-29',46.4 to '2024-08-29',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-09-29',46.4 to '2024-09-29',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-10-30',46.4 to '2024-10-30',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-11-30',46.4 to '2024-11-30',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-12-31',46.4 to '2024-12-31',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-01-31',46.4 to '2025-01-31',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-03-03',46.4 to '2025-03-03',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-04-03',46.4 to '2025-04-03',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-05-04',46.4 to '2025-05-04',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-06-04',46.4 to '2025-06-04',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-07-05',46.4 to '2025-07-05',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-08-05',46.4 to '2025-08-05',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-05',46.4 to '2025-09-05',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-10-06',46.4 to '2025-10-06',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-06',46.4 to '2025-11-06',50.9 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2023-12-02',49.6 to '2025-12-01',49.6 nohead lw 1 dt (4,6) lc rgb "dark-red" set arrow from '2023-12-02',52.3 to '2025-12-01',52.3 nohead lw 1 dt (4,6) lc rgb "blue" set arrow from second '2023-12-02',52.3 to second '2025-12-01',52.3 nohead lw 1 dt (4,6) lc rgb "dark-red" set arrow from second '2023-12-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'\ exit