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.
Get the free JMP Student Edition for qualified students and instructors at degree granting institutions.
Choose Language Hide Translation Bar
View Original Published Thread

How to make automated adjustment for Contour Plot --> specify contours ( number, max, min)

Stokes
Level IV

Can anyone help on this?
I am plotting multiple contour plot, and each of them has a different max,min.

To avoid setting the wrong (max, min) of contour plot and making the graph blackout, I need to manually adjust each map (max, min and number). 

Any jmp script or jmp setting to automate the contour plot specify contours ( number, max, min) will help.

Thank you

2 REPLIES 2
txnelson
Super User


Re: How to make automated adjustment for Contour Plot --> specify contours ( number, max, min)

Where do the manual min, max and number come from?  Or is it just until it looks OK?  The setting of those values is easy,  if there are rules for what the values need to be.

Jim
Stokes
Level IV


Re: How to make automated adjustment for Contour Plot --> specify contours ( number, max, min)

 

Hi Nelson, just saw your reply on this topic.

I am trying to set up using Quantile (95%), Quantile (85%), Quantile (75%), etc as each bucket for the contour value.

The Quantile ( ) is by a group of "model" and "type", i.e. column :model, : type,

So it will be Col Quantile(:power, 0.05, :model, :type)

 

One example as below,

 

Contour Plot(
    X( :x, :y ),
    Y( :power ),
    Show Data Points( 0 ),
    Fill Areas( 1 ),
    Label Contours( 0 ),
    Transform( "None" ),
    Specify Contours(
        Min( 0 ),
        Max( 8 ),
        N( 8 ),
        Contour( 1, Col Quantile( :power, 0.05, :model, :type ), Col Quantile( :power, 0.15, :model, :type ) ),
        Contour( 2, Col Quantile( :power, 0.15, :model, :type ), Col Quantile( :power, 0.25, :model, :type ) ),
        Contour( 3, Col Quantile( :power, 0.25, :model, :type ), Col Quantile( :power, 0.35, :model, :type ) ),
        Contour( 4, Col Quantile( :power, 0.35, :model, :type ), Col Quantile( :power, 0.45, :model, :type ) ),
        Contour( 5, Col Quantile( :power, 0.45, :model, :type ), Col Quantile( :power, 0.55, :model, :type ) ),
        Contour( 6, Col Quantile( :power, 0.55, :model, :type ), Col Quantile( :power, 0.65, :model, :type ) ),
        Contour( 7, Col Quantile( :power, 0.65, :model, :type ), Col Quantile( :power, 0.75, :model, :type ) ),
        Contour( 8, Col Quantile( :power, 0.75, :model, :type ), Col Quantile( :power, 0.85, :model, :type ) ),
        Contour( 9, Col Quantile( :power, 0.85, :model, :type ), Col Quantile( :power, 0.95, :model, :type ) ),

    ),
    SendToReport( Dispatch( {}, "Contour Legend", FrameBox, {Frame Size( 92, 247 )} ) )
);