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