1
我有一个直方图,其中酒吧实在太高,他们重叠,在那个显示每个条信息右上角的框(你叫什么这个盒子?)酒吧重叠框区域GNUPLOT
我一直特林改变画布的大小(高度),因此它与set size
高,但我无法得到它的工作。然后我用yrange
但我不想指定更多的范围来解决这个问题。我希望它能够让内部画布更加正方形,而不是矩形(更多高度),而不改变范围。我该怎么做呢?
set term png
set output 'output.png'
red = "#FF0000";
green = "#00FF00";
blue = "#0000FF";
skyblue = "#87CEEB";
purple = "#4B0082";
set ylabel "Time (s)"
set xlabel "CPU"
set style data histogram
set style histogram cluster
set style fill solid
set boxwidth 0.9
set grid ytics
set xtics rotate
set title "Compiled with gcc/g++"
plot "processor.dat" using 2:xtic(1) title "-O1" linecolor rgb red, \
'' using 3 title "-O2" linecolor rgb blue, \
'' using 4 title "-O3" linecolor rgb green, \
'' using 5 title "-Os" linecolor rgb skyblue, \
'' using 6 title "-Ofast" linecolor rgb purple