Currently, Grapher always spaces box plots evenly along the axis. As a work-around, you can create each box plot on a separate box-plot axis. Each box can then be moved/located, as desired. To do this:
- Click the Home | New Graph | Statistical | Vertical Box Plot () command.
- Click on the box plot to select it.
- In the Property Manager, click on the Plot tab.
- Change the Last column to be the same as the First column. Only one box is now plotted.
- Click on the Box Plot Axis to select it.
- In the Property Manager, click on the Axis tab.
- Change the Length to twice the desired width of the bar. So, if the box should be 0.5 inches wide, make the Length equal to 1.0 inches.
- Click the Home | Add to Graph | Plot command.
- In the Select Plot Type dialog, select Vertical Box Plot and click OK.
- 'In the Choose Axes dialog, set the Length and position for the new X axis and click OK.
- Select the data file and click Open.
- Repeat steps 2 through 4 above for the new box plot.
- Click on the new box plot axis and move it left/right to the desired location.
- Repeat steps 8-13 for each additional box plot. If the labels are incorrect on the box plot axes, you can uncheck the boxes in the Object Manager next to each Box Plot Axis name. Then, add a new axis by clicking the Graphs | Add to Graph | Axis command. Label the new axis as desired.
- If you want the boxes to move with other plot changes, you can link the Box Plot Axis location to the new axis.
Here's an example graph using the steps above:
Create variable spaced box plots using multiple box-plot axes.
If you would like to have boxes placed with variable spacing, email Grapher support to add your vote for this feature to our suggestion file.
Updated November 30, 2017