How to apply set operations to lists of display boxes?
- remove duplicates
- intersect
- subtract
Plan B:
Is there a function which returns the unique position of a display box in the display tree?
With the information about the position (pos 1.2.4.1.2 vs. 1.2) one could pre-execute the set operations for positions and the apply it to the lists with display boxes.
I found
Get Display Path( )
which gives the Xpath or subscript function to get from one Level to another level. But I didn't find a function Get Pos ...
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt << Graph Builder(
Variables( X( :height ), Y( :weight ), Overlay( :sex ) )
);
gb2 = gb << Clone box();
nw = New Window("test",H List Box (gb2,gb2));
(nw << xpath("//AxisBox")) << parent;