gnuplot来画图

一个可以在终端画图的工具。

如何画log的distribution
将indegree和outdegree的log分布在一张图上显示

set terminal png
set output "targetgraph_distribution.png"

unset logscale y
set table "outdegreestable"
plot "outdegrees.txt" using 1:(1) smooth frequency
unset table
set table "indegreestable"
plot "indegrees.txt" using 1:(1) smooth frequency
unset table
set logscale y
plot "outdegreestable" title "outdegrees distribution", "indegreestable" title "indegrees distribution"



你可能感兴趣的:(gnuplot)