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"
As you can see, the xtics are cutted from the image and they are too close. How can I improve it?