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 )} ) )
);
... View more