Subscribe Bookmark RSS Feed

How do I overlay box plots in JMP so they are aligned instead of next to each other?

ambrose2

New Contributor

Joined:

May 10, 2017

Assuming you have a set of x values (numerical, continuous) and 3 sets of y values (numerical, continuous), is there any way to overlay the series together and have box plots that are overlayed? When I add box plots with graph builder, the box plots take up their own independent space along the x-axis, instead of being aligned along the same value of x, the box plots won't intersect eachother. The box plots become too small and narrow. (Tried with JMP12 and 13).

2 REPLIES
pmroz

Super User

Joined:

Jun 23, 2011

I would use the STACK command to create one X and one Y column.  A third column would distinguish which set the X,Y pair came from.  Then it's a simple matter of using the third column as your BY variable in the plot.

ambrose2

New Contributor

Joined:

May 10, 2017

I created one x, one y, and one group column, and used Graph Builder to drag the x to the x, the y to the y, and the group column to the upper right corner "overlay". After selecting box plots on the top, I get the same result as previously.