您可以將點新增到曲面圖中,然後選擇要變更顏色的點,然後在資料表中設定行狀態顏色。它將將該選定點變更為您將行的顏色狀態變更為的顏色。

其他人可能對如何執行此操作有更多想法
您可以使用這個小腳本來設定具有最大值的行的行狀態顏色
Names Default To Here( 1 );
dt = Current Data Table();
dt << select where( :parameter 1 == Col Max( :parameter 1 ) );
Row State( (dt << get selected rows)[1] ) = Color State( red );
只需將“參數 1”變更為目標列的名稱
您可以透過互動方式取得此資訊;我將日誌視窗中捕獲的腳本貼在一起。
right-click the surface to get to various settings右鍵單擊表面即可進行各種設置
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt:age << Set Modeling Type( "Continuous" );
// Save Columns: Prediction Formula
Local( {obj},
obj = dt << Fit Model(
Y( :height ),
Effects( :age, :weight, :age * :age, :age * :weight, :weight * :weight ),
Personality( "Standard Least Squares" ),
Emphasis( "Effect Leverage" ),
Run(
:height << {Summary of Fit( 1 ), Analysis of Variance( 1 ), Parameter Estimates( 1 ), Scaled Estimates( 0 ),
Plot Actual by Predicted( 1 ), Plot Regression( 0 ), Plot Residual by Predicted( 1 ), Plot Studentized Residuals( 0 ),
Plot Effect Leverage( 1 ), Plot Residual by Normal Quantiles( 0 ), Box Cox Y Transformation( 0 )}
)
);
obj << Prediction Formula;
obj << Close Window;
);
// Launch platform: Surface Plot
dt << Surface Plot(
Columns( :Pred Formula height, :height, :weight, :age ),
Datapoints Choice( "Points" ),
Surface Color Theme( "Green to Black to Red"(1) ),
Surface Color Theme2( "Green to White to Red"(1) ),
Surface Color Theme3( "White to Black"(1) ),
Surface Color Theme4( "Blue to Gray to Red"(1) ),
Surface Gradient Type( "Discrete Gradients" ),
Response Column Color Theme( "Blue to Green to Red"(1) ),
Response Column Color Theme2( "Blue to Gray to Orange"(1) ),
Response Column Color Theme3( "Spectral"(1) ),
Response Column Color Theme4( "Jet"(1) ),
Formula( "Pred Formula height" ),
Response( :height ),
Equation( "", "", "", "" ),
Surface Color Method( :Pred Formula height, "Solid", "Solid", "Solid" ),
SetVariableAxis( :weight, Axis Data( {} ) ),
SetVariableAxis( :age, Axis Data( {} ) ),
SetZAxis( :Pred Formula height, Current Value( 61.1938701849204 ) ),
SetXVariable( :age ),
SetYVariable( :weight ),
Iso Value( 0, 62.7178599852511 ),
Iso Value( 1, 60.8 ),
Iso Value( 2, 60.8 ),
Iso Value( 3, 60.8 ),
Frame3D(
Set Graph Size( 857, 648 ),
Set Rotation( -67.6102735250083, -0.17489981039149, -124.30542455474 ),
Set Line Scale( 0.2207 ),
Set Text Scale( 1.2122 ),
Set Marker Quality( 0.622 ),
Set Marker Scale( 2.1524 )
)
);