------柱状图---------------------------------------------
文件(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)

gnuplot输出柱状图

相关文章:

  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2021-08-10
  • 2021-09-08
猜你喜欢
  • 2022-02-27
  • 2021-05-30
  • 2022-12-23
  • 2021-07-15
  • 2022-02-15
  • 2021-09-28
  • 2021-04-21
相关资源
相似解决方案