你好,
我有一组包含 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.按组创建脚本的选项。