How can I create irregularly spaced box plots in Grapher?

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:

  1. Click the Home | New Graph | Statistical | Vertical Box Plot (Grapher 12 box-whisker plot) command.
  2. Click on the box plot to select it.
  3. In the Property Manager, click on the Plot tab.
  4. Change the Last variable to be the same as the First variable. Only one box is now plotted.
    • In Grapher 13, change the Last column to be the same as the First column.
  5. Click on the Box Plot Axis to select it.
  6. In the Property Manager, click on the Axis tab.
  7. 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.
  8. Click the Home | Add to Graph | Plot command.
  9. In the Select Plot Type dialog, select Vertical Box Plot and click OK.
  10. The Choose Axes dialog will appear automatically set to create new X axis. Click OK.
  11. Select the data file and click Open.
  12. Repeat steps 2 through 4 above for the new box plot.
  13. Click on the new box plot axis and move it left/right to the desired location.
  14. 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 Graph Tools | Add to Graph | Axis command. Label the new axis as desired.
  15. 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:

Grapher irreguarly spaced box plots

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 September 17, 2018

Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.