(OK) gnuplot boxplot example - 箱线图 - 盒图

93 篇文章 0 订阅

vim nc-gnuplot-1.dat

113	89	49	49
82	86	51	51
125	102	52	49
119	99	52	47
125	94	53	53
97	93	49	51
98	101	49	52
123	92	53	50
93	94	48	51
127	95	53	53
90	89	51	53
102	87	47	54
129	94	49	53
94	89	50	53
84	90	51	49
115	86	50	51
90	102	51	54
126	92	48	50
118	95	47	49
89	93	50	52
83	87	48	54
119	96	48	50
101	95	50	51
125	96	47	49
120	98	51	53
87	92	52	51
127	91	50	54
111	94	48	51
82	88	54	54
126	89	51	49

vim nc-gnuplot-1.plt

# gnuplot nc-gnuplot-1.plt
# display nc-gnuplot-1.png &
# cp nc-gnuplot-1.png /root/桌面
# mv nc-gnuplot-1.png /root/桌面

#set terminal png truecolor
set term png font '/usr/share/fonts/msttcore/times.ttf,13'
set output "nc-gnuplot-1.png"
#set output "nc-gnuplot-1.eps"

set grid
set style fill solid 0.25 border -1
set style boxplot outliers pointtype 7
set style data boxplot

set xlabel "experiments of different protocols"
set ylabel "nc - time to transfer file (seconds)"

#set title 'My Plot' font 'Arial,14';
set xtics ('1' 1, '2' 2, '3' 3, '4' 4)
#plot for [i=1:4] 'nc-gnuplot-1.dat' using (i):i notitle
plot 'nc-gnuplot-1.dat' using (1):1 title 'TCP-MDR',\
	'' using (2):2 title 'MPTCP-FullPath-MDR',\
	'' using (3):3 title 'MPTCP-FullPath-xIF-MDR',\
	'' using (4):4 title 'MPTCP-PartPath-xIF-MDR'






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值