有没有办法让图形脚本服从本地数据过滤器? 我正在尝试获取数据表中选定数量的点的凸包。 但是,图形脚本会计算表中所有点的凸包,而忽略本地数据过滤器。
我用于凸包的脚本是这样的:
tri = Triangulation( X( :MXC, :MZC ) );
Path( tri << Get Hull Path );
有没有办法在用户界面与本地数据过滤器时向此脚本发送更新或重新计算某种命令?
Convex hull with all the pointsConvex hull with all the points具有所有点的凸包
Convex hull remains but the points get filtered. I want to shrink the convex hull.Convex hull remains but the points get filtered. I want to shrink the convex hull.凸包仍然存在,但点被过滤。 我想缩小凸包。
极好的。 我等不及我的组织升级了!
与此同时,我将尝试按照您的描述为 v14 整理一些东西。
检查 Box<
或者....
在 JMP 15 Graph Builder 中,当与颜色角色一起使用时,凸包可作为 Contour 元素的一部分直接使用。在这种情况下,等高线基于三角测量,您可以关闭等高线并仅显示边界。JMP 15 中的这个脚本将演示该功能:
Open("$SAMPLE_DATA/Big Class.jmp");
Graph Builder(
Size( 534, 456 ),
Show Control Panel( 0 ),
Variables( X( :height ), Y( :weight ), Color( :height ) ),
Elements(
Contour( X, Y, Legend( 4 ), Fill( 0 ) ),
Points( X, Y, Color( 0 ), Legend( 5 ) )
),
Local Data Filter(
Add Filter(
columns( :age ),
Where( :age == 13 ),
Display( :age, Height( 102 ) )
)
)
);
内置版本的一大优势(当然,如果使用 JMP 15...)是所有 Graph Builder 分组计算都已处理。因此,如果您在覆盖角色中使用另一列,您将获得每个组的凸包:
