cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.

How to center multiple histograms in Graph Builder?

Justinhwu
Level I

Hi, 

I have a plotting question here:

How to align multiple histograms in Graph Builder? I mean the medians (or Averages) of multiple histograms are superimposed?

Or, should this be done in the source data table? Thank you! The example of 5 histograms is shown below:

(JMP 18.1.0)

Justinhwu_0-1741907567380.png

 

2 REPLIES 2
jthi
Super User

Re: How to center multiple histograms in Graph Builder?

So you wish to have all of your histograms on top of each other (or have same average)? You would do this generally in source data (or you can use use Transform Column in Graph Builder)

jthi_0-1742033576126.png

Standardization is one option (original column on left, standardized by Species on right)

jthi_1-1742033652718.png

JMP does offer some quick formulas for this (similar options available for transform columns)

jthi_4-1742033805138.png

jthi_2-1742033661341.png

Checking out Fit Y by X might also be worth it, depending on what you are looking for

jthi_3-1742033745249.png

 

-Jarmo
hogi
Level XII

Re: How to center multiple histograms in Graph Builder?

Col Standardize is very helpful - but might be one step too far.


If you just want to "shift" the distributions without changing the spread, you might have a look at Normalization GUI in the marketplace. It can be used to align different distributions - by subtracting the mean or by dividing. The correction can be applied independently to different groups of data and there are some more features like using a subset as a reference.

 

hogi_0-1742121348768.png