Follow

How can I create irregularly spaced box plots in Grapher?

Currently, Grapher always spaces box-whisker 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 Graphs | Create | Statistical | Box-Whisker Plot, Vertical (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 column to be the same as the First column. Only one box is now plotted.
  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 Graphs | Add to Graph | Plot command.
  9. In the Select Plot Type dialog, select Box-Whisker Plot, Vertical and click OK.
  10. In the Choose Axes dialog, set the Length and position for the new X axis and 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 Graphs | 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:

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 30, 2016

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

0 Comments

Please sign in to leave a comment.