imat_ctrace/cat


Purpose

Merge multiple coordinate traces.

Syntax

u=cat(1,t1,t2,...)

Description

The cat function concatenates coordinate traces without attempting to remove duplicates. The first field is ignored, but is provided to be compatible with the builtin cat function. The resultant coordinate trace will return the name of the first coordinate trace passed in.

Examples

>> 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=cat(1,t1,t2)

t =

    '5Y+'
    '6RX+'
    '3Z+'
    '4X-'
    '4X+'
    '3Z+'
    '2Z-'
    '5Y+'
    '8X+'

>>

See Also

imat_ctrace/and, imat_ctrace/or, imat_ctrace/unique