有沒有辦法讓圖形腳本服從本地數據過濾器? 我正在嘗試獲取數據表中選定數量點的凸包。 但是,圖形腳本會計算表中所有點的凸包,而忽略本地數據過濾器。
我用於凸包的腳本是這樣的:
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 分組計算都已經處理好了。因此,如果您在覆蓋角色中使用另一列,您將獲得每個組的凸包:
