(Edit: Histogram removed, not relevant and confusing.)
I want a boxplot which can visualize statistical data. I made two data files for two types of data. In the first column the level, which is the x value, is written, in the second column the value. One line for each data point, several points per level. I want the same levels in the different files compared next to each other. I came up with the following code:
Tournament5 = "#99ffff"; Sigmascaling = "#4671d5"
set terminal pngcairo
set output "generations_dev.png"
set yrange [0:17.5]
set ylabel "Maximum Compactness of Best Solutions"
set xlabel "Number of Generations"
set autoscale fix
set style fill solid 0.25 border -1
set style boxplot nooutliers pointtype 7 separation 3
set style data boxplot
set boxwidth 1
plot "generation_tour.data" using (1.0):2:(0):1, "generation_sig.data" using (2.0):2:(0):1
which gives me the following picture:
Now my problems/questions are:
- Why are the x values not stretched to the right but only to the middle? This happens when I add the second file, with just one file it uses the full width of the graphic.
- I only need one x label for each pair but I get it two times, how can I supress one?
Thank you for any help!