Return union of two traces (t1|t2).
t1 | t2
or(t1,t2)
When operating on two coordinate traces, the OR function returns the union (i.e., all unique coordinates in sorted order). The resultant coordinate trace will retain the name of the first coordinate trace passed in.
>> t1=imat_ctrace('5y', '6rx', '3z', '4x-')
t1 =
'5Y+'
'6RX+'
'3Z+'
'4X-'
>> t2=imat_ctrace('4x', '3z', '2z-', '5y', '8x+')
t2 =
'4X+'
'3Z+'
'2Z-'
'5Y+'
'8X+'
>> t=t1|t2
t =
'2Z-'
'3Z+'
'4X+'
'4X-'
'5Y+'
'6RX+'
'8X+'
>>