set datafile separator ' ' CSV_FILE = '/var/www/html/hp/IMG/基礎代謝量3.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 ['2017-04-01':'2025-12-01'] set xtics 6838560 #set xtics "2017-04-01",6838560 set xtics rotate by -90 #set colorsequence classic #set colorsequence podo set linetype 5 lc rgb "olive" lw 1 set ylabel '推定骨量' set yrange [1420:1660] set y2label '推定骨量' set y2range [1420:1660] set y2tics #set mxtics 2 #set mytics 2 set grid xtics ytics mxtics mytics set key below set title '基礎代謝量 (2017-04-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/基礎代謝量3.png' set arrow from '2017-06-17',1420.0 to '2017-06-17',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2017-09-04',1420.0 to '2017-09-04',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2017-11-22',1420.0 to '2017-11-22',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2018-02-09',1420.0 to '2018-02-09',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2018-04-29',1420.0 to '2018-04-29',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2018-07-17',1420.0 to '2018-07-17',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2018-10-05',1420.0 to '2018-10-05',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2018-12-23',1420.0 to '2018-12-23',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2019-03-12',1420.0 to '2019-03-12',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2019-05-30',1420.0 to '2019-05-30',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2019-08-17',1420.0 to '2019-08-17',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2019-11-04',1420.0 to '2019-11-04',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2020-01-23',1420.0 to '2020-01-23',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2020-04-11',1420.0 to '2020-04-11',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2020-06-29',1420.0 to '2020-06-29',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2020-09-16',1420.0 to '2020-09-16',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2020-12-04',1420.0 to '2020-12-04',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2021-02-21',1420.0 to '2021-02-21',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2021-05-11',1420.0 to '2021-05-11',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2021-07-30',1420.0 to '2021-07-30',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2021-10-17',1420.0 to '2021-10-17',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2022-01-04',1420.0 to '2022-01-04',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2022-03-24',1420.0 to '2022-03-24',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2022-06-11',1420.0 to '2022-06-11',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2022-08-29',1420.0 to '2022-08-29',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2022-11-16',1420.0 to '2022-11-16',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2023-02-04',1420.0 to '2023-02-04',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2023-04-24',1420.0 to '2023-04-24',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2023-07-12',1420.0 to '2023-07-12',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2023-09-29',1420.0 to '2023-09-29',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2023-12-17',1420.0 to '2023-12-17',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-03-05',1420.0 to '2024-03-05',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-05-24',1420.0 to '2024-05-24',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-08-11',1420.0 to '2024-08-11',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2024-10-29',1420.0 to '2024-10-29',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-01-16',1420.0 to '2025-01-16',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-04-05',1420.0 to '2025-04-05',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-06-23',1420.0 to '2025-06-23',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-09-10',1420.0 to '2025-09-10',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2025-11-29',1420.0 to '2025-11-29',1660.0 nohead lw 1 dt (3,7) lc rgb "dark-red" set arrow from '2017-04-02',1507.3 to '2025-12-01',1507.3 nohead lw 1 dt (4,6) lc rgb "dark-red" set arrow from '2017-04-02',1495.6 to '2025-12-01',1495.6 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