I am trying to make a plot in gnuplot, using the "with boxes" command. The problem is that I can make the boxes more narrow, but the spacing between the boxes remains. This makes the plot look silly. link to picture
I have looked at margins, offset for the tics and tried to figure out the style of the boxes but could not get this to look nice.
First, I would like to understand what is causing the spacing. The box style or the tics? Of course, I will not name it ABCD, I will have longer tics then.
Later, I want to rotate it and include it in a LaTeX file, but the problem also exists in wxt terminal/graphical output from gnuplot.
The code I am using to generate the plot:
datenfile = "daten.txt"
yachsentitel = "Parameter [\\%]"
set ylabel yachsentitel
unset key
unset grid
unset border
set boxwidth 0.2
set xtics rotate by 90 right
set ytics rotate by 90 center
set style fill solid
set output "parameter.png"
set term png
plot datenfile using 2:xtic(1) with boxes
My data file is:
"A." 5.1
"B." 1.73
"C." 0.15
"D." 3.2