cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
BrianB
Level II

Creating a boxplot and histogram view in a single chart

I am trying to re-create a chart as shown below where a box plot is shown for a discrete lot level on the x-axis and a vertical histogram of the entire data set is on the right hand side of the chart. 

 

Is there a way to do this in Graph Builder or is this only achievable with jsl? 

 

BrianB_0-1744048272746.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
shampton82
Level VII

Re: Creating a boxplot and histogram view in a single chart

For the X axis, hold down alt and resize the x axis panel

shampton82_1-1744053491486.png

 

 

For having the two panels respect difference Y axis scales, add in another of the same Y axis (here I used weight from the Big Class sample data set) and then move one of them to the right (right click on the Y axis when it says Weight & Weight and select move right and choose one to move)

shampton82_0-1744052853914.png

 

View solution in original post

4 REPLIES 4
shampton82
Level VII

Re: Creating a boxplot and histogram view in a single chart

Hey @BrianB 

I just made a dummy column of all 1's (Column 6) and added that as an additional panel on the X axis

 

shampton82_0-1744048731281.png

 

BrianB
Level II

Re: Creating a boxplot and histogram view in a single chart

Fantastic thank you.

 

2 questions to get the same view

 

1. How do you scale the portion of the x-axis for the boxplot vs the histogram?

2. is it only possible to have a single y-axis interval setting or can the box plot and histogram have different intervals (whilst retaining the same overall scale)

 

 

shampton82
Level VII

Re: Creating a boxplot and histogram view in a single chart

For the X axis, hold down alt and resize the x axis panel

shampton82_1-1744053491486.png

 

 

For having the two panels respect difference Y axis scales, add in another of the same Y axis (here I used weight from the Big Class sample data set) and then move one of them to the right (right click on the Y axis when it says Weight & Weight and select move right and choose one to move)

shampton82_0-1744052853914.png

 

BrianB
Level II

Re: Creating a boxplot and histogram view in a single chart

Great, thank you

Recommended Articles