我有下面的代码,用于绘制不同输入文件的直方图。每当我给出一个新的输入文件时,直方图的颜色就会改变。
如果所有输入文件的直方图颜色相同,请告诉我
binwidth=0.00001
##Empty bins caused the box for the adjacent bin to incorrectly extend into its space
set boxwidth binwidth
set grid
bin(x,width)=width*floor(x/width) +(binwidth /2)
set title "Histogram of Instance Power"
set xlabel "Power Range in mW"
set ylabel "Instance numbers"
unset style line
set style fill solid
plot [0.0:0.0004] [1:200000] '<FILE NAME>' using (bin($2,binwidth)):(1.0) smooth freq with boxes lc variable notitle