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
Justinhwu
Level I

How to center multiple histograms in Graph Builder?

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

 

3 REPLIES 3
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

hogi
Level XII

Re: How to center multiple histograms in Graph Builder?

@Justinhwu , if you have the chance to use the beta version of JMP19 EA, you can test a new feature which was just announed on Discovery Summit 2025. It enables you to center the histograms "on the fly": 
https://community.jmp.com/t5/JMP-Wish-List/Transform-Columns-as-comfortable-as-Summary-Statistics/id... 

To facilitate the usage, you can download the latest version of GraphBuilder Toolbar  
 https://marketplace.jmp.com/appdetails/Graph+Builder+Toolbar .
select a column in the list and click:

hogi_1-1742403300661.png


It will add a new column to the menu with normalized values. When you change the design of the graph, the normalization will get adjusted "on the fly".


Recommended Articles