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

How to find/extract the corresponding value on x axis for y max (peak) value ?

I need a quick way to extract the peak values of Y-axis and its corresponds on X-Axis.

The plot was performed in Graph Builder. X-axis is log scale.  

saad_1-1710683796970.png

 

 

2 REPLIES 2
Craige_Hales
Super User

Re: How to find/extract the corresponding value on x axis for y max (peak) value ?

Try the crosshair tool.

(view in My Videos)

Craige
GregF_JMP
Staff

Re: How to find/extract the corresponding value on x axis for y max (peak) value ?

Hello-
In addition to the graphic analysis, a formula column in the data table can identify the peak Y value of your column :Output,

  • There are multiple traces shown on the graph, so assume an identifier we will call :Batch.

Make a new column, right click to edit formula: (assume column name Input_at_Peak)

If( Col Maximum( :Output, :Batch ) == :Output,
	:Input,
	.
)

This will determine the rows where the current value of :Output matches the maximum :Output

for that :Batch.  In these peak rows, the value of the :Input value will be duplicated, otherwise the value will be missing.

Once there is a single value per :Batch, and the rest missing- any summarization function (e.g. mean, min, max) when given one value and the balance missing- will return the one value.
Depending on where you would like the result to appear:

  • In a separate table- use Table Menu/Summary- calculate the Mean(Input_at_Peak), with group Batch
  • Within the same data table- if you wanted the same value in all rows, a similar formula column approach of Col Mean( :Input_at_Peak, :Batch )

 

 

 

Recommended Articles