gnuplot柱状堆叠图

gnuplot柱状堆叠图

reference url 1

reference url 2

reference url 3

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

image-20220117222641590


image-20220117223642766

image-20220117223524123


add set style fill solid 1.0 border -1 command

image-20220117223843677

posted @ 2022-01-17 22:43  MOVIT  阅读(194)  评论(0编辑  收藏  举报