Decreasing the space between boxes in a simple box plotHi everyone,
I wonder if there is a way to decrease the space between boxes in a box plot. I do not have groups, so I cannot use graph spacing. And when I try to change it manually by X-axis setting, the white space for the graph increases, which is not good. would you please advise how to proceed? Thanks


Data Exploration and VisualizationRe: Decreasing the space between boxes in a simple box plotYou should be able to grab the right hand part of that plot with the mouse and drag it left to make the plot window narrower. It will condense the plot. I don't know that you can control the amount of white space vs boxplot specifically.
Re: Decreasing the space between boxes in a simple box plotThose x-axis values you have are really "numbers" in the x-axis starting from 0

So you have some options which you can play around with:
- Modify width proportion
- Change graph size
- Change X-axis ends
Combine these different methods together to hopefully get what you want.
Re: Decreasing the space between boxes in a simple box plotThanks Jarmo,
In the x axis I have two group 1(with injury) and 2( without injury) these two
- Change graph size
- Change X-axis ends works better.