gnuplot柱状堆叠图
gnuplot柱状堆叠图
set term dumb
set style data histogram
set style histogram rowstacked
set yrange [0:200]
set ytics 0,20,200
set key outside
plot "data.dat" using 2 title columnheader(1),'' using 3:xtic(1) title columnheader(2)
name math physics
tom 88 92
kali 85 77
arch 98 81
mint 75 100
add set style fill solid 1.0 border -1 command