cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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