unset key #曲線の説明や表題のリセット set key Left width 1 height 0 spacing 1.5 reverse box set term pngcairo enh font "Times, 10" size 640,480 #PNG形式で出力、拡張機能、フォント、サイズ set out "ticketsales.png" set label "配給会社別年間興行収入" at sc 0.3, 0.90 font "TakaoGothic,18" set xlabel "西暦" font "TakaoGothic,12" set ylabel "興行収入 (単位:億円)" font "TakaoGothic,12" set xrange [2000:2021] set yrange [0:900] set ytics 50 set grid plot \ "toho.dat" title "東宝" lt -1 lw 1 pt 7 lc rgb "red" with linespoints, \ "toei.dat" title "東映" lt -1 lw 1 pt 9 lc rgb "blue" with linespoints, \ "syochiku.dat" title "松竹" lt 0 lw 3 pt 4 lc rgb "green" with linespoints