ICode9

精准搜索请尝试: 精确搜索
首页?>?其他分享> 文章详细

gnuplot输出柱状图

2019-09-30 10:03:49??阅读:7??来源: 互联网

标签:输出?style?set?gnuplot?柱状图?growth?table?txt


------柱状图---------------------------------------------
文件(table_growth.txt)内容:
月份|空间大小(GB)|记录条数? ?
201902|11.21|1566
201903|11.91|1617
201904|13.21|2882
201905|13.65|2918
201906|170.03|2975
201907|1371.69|2462
201908|344.11|6228
201909|347.92|6399

set style data histogram
set style histogram clustered gap 1
set style fill solid 0.4 border
set datafile separator "|"
plot "D:/gnuplot_data/table_growth.txt" using 2:xticlabels(1) title columnheader(2), '' using 3:xticlabels(1) title columnheader(3)



标签:输出,style,set,gnuplot,柱状图,growth,table,txt

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有