Gnuplot histogram xtics and bar spacing
<pre><code>set style data histogram
set style histogram rowstacked
set style fill solid border

set terminal png

set output 'permfail.png'

set boxwidth 0.5 relative # histogram bar width

set title "Analysis of dangerus permissions"
set ylabel "Apps percentage %"
set yrange [0 : 100]

set xtics noenhanced # no escaping for strings
set xtics rotate by 40 right

set grid ytics

plot for [COL=2:2] 'permfail.dat' using COL:xticlabels(1) title columnheader fs pattern 2 lc rgb "black"
</code></pre>

<p><a href="https://i.stack.imgur.com/fIMOu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fIMOu.png" alt="Permission distribution"></a></p>

<p>As you can see, the xtics are cutted from the image and they are too close. How can I improve it?</p>