I need to create grouped boxplots, ideally using gnuplot exactly as shown in this answer.
However, I need a grayscale plot. Moreover, the output has to be an encapsulated Postscript (EPS) file.
When adding these two lines
set terminal postscript eps enhanced 24
set output "fruit_prices.eps"
I get the following plot (I converted the EPS file to a PNG file because StackOverflow doesn't accept EPS files):
For some reason, all nine boxes have a different line style. I need the first box for Company A, B, and C to have the same style, and the same for the second and third box (matching the coloring in the original example).
How can that be achieved?

The default option for terminal
postscript epsismonochromeand apparently you get only one grey fill color but differently dashed lines.Without knowing details, you apparently have to set the option
colorand define your linetypes explicitly and use it in the plot command vialt COL.Script: (with the data from here)
Result:
My GhostView as EPS viewer doesn't work with together with the latest version of GhostScript. So, I used IrfanView together with GhostScript, but I'm not sure whether the color representation is correct, e.g. if I set color to
blackor0x000000, I still get only a grey shade.