你好,
我有一大組數據,其中有 231 個唯一樣本(標記為 RunID),每個唯一樣本都有一組 X、Y、Z 值。然後,我使用圖形「曲面圖」工具為這 231 次運行中的每一次創建一個 3D 圖,這會在新視窗中顯示 231 個圖形。我想修改這個的顯示,使樣式是一個表面,然後修改表面以顯示連續漸變。但是,我不想對所有 231 個圖手動執行此操作,但我似乎無法弄清楚如何設定腳本以使其遍歷所有 231 個唯一的 RunID。查看腳本視窗輸出,它表明我需要在“where”函數中放置一些內容,該函數表示要對所有唯一的 RunID 執行此操作,而不僅僅是為第一個圖列出的 RunID。
這看起來很簡單,但我在 JMP 討論中找不到任何內容。
Surface Plot(
Columns( :X, :Y, :Z ),
Datapoints Choice( "Surface" ),
Surface Color Theme( "Green to Black to Red" ),
Surface Color Theme2( "Green to White to Red" ),
Surface Color Theme3( "White to Black" ),
Surface Color Theme4( "Blue to Gray to Red" ),
Response Column Fill( "Continuous Gradients" ),
Response Column Color Theme( "Blue to Green to Red" ),
Response Column Color Theme2( "Blue to Gray to Orange" ),
Response Column Color Theme3( "Spectral" ),
Response Column Color Theme4( "Jet" ),
Response( :Z ),
Surface Color Method( "Solid", "Solid", "Solid", "Solid" ),
SetVariableAxis( :X, Axis Data( {} ) ),
SetVariableAxis( :Y, Axis Data( {} ) ),
SetZAxis( :Z, Current Value( -170000 ), Axis Data( {} ) ),
SetXVariable( :X ),
SetYVariable( :Y ),
Frame3D( Set Rotation( -54, 0, 38 ) ),
Where( :RunID == "0a6609" )
);嘗試改變
Where( :RunID == "0a6609" )
至
By( :RunID)
我應該複製所有的漸變等
改變在哪裡(...)至由(:運行ID)
如果您使用紅色三角形保存腳本,選項之一將是 by 變量。
Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.Option to create the script with by group.按組創建腳本的選項。