I have a little code, that allows plotting data from multiple columns in one file for a boxplot.
\begin{gnuplot}[terminal=tikz, terminaloptions={color size 10cm,5cm}]
reset session
datafile = 'boite2.txt'
colMin = 1
colMax = 3
set datafile separator '\t'
plot for [col=colMin:colMax] datafile using (col):col w boxplot notitle
\end{gnuplot}
Now, I would like to have the columnheader (...-Medium) of each column to be shown below each box on the x-axis. But I couldn't find any working solution. I've used this data
TB-Medium LB-Medium XX-Medium
42.9 42.9 42.9
38.1 38.1 38.1
33.3 33.3 33.3
37.1 37.1 37.1
34.8 34.8 34.8
36.6 36.6 36.6
37.4 37.4 37.4
35.1 35.1 35.1
39.8 39.8 39.8
45.8 45.8 45.8
57.8 57.8 57.8
42.7 42.7 42.7
What I get is this with each boxplot numbered from 1 to ...

I would really appreciate some help. And maybe you can suggest where to find examples or documentation to that specific matter.
I'm using gnuplottex in LaTeX with gnuplot 5.4.


Yet a third alternative. This one is, I think, what the program actually intended.
The boxplot style allows for up to 4 input columns in the
usingspecifier. These are(x position) : (data) : (box width) : (category). The 3rd and 4th columns are optional. If a 4th input column is given, the program generates a separate boxplot for each category and places the category string underneath as a label. Seehelp style boxplot. For your case we can use the column header as a single "category" that applies to all the data points in that column: