ShowTeams:
--------------------------------------------------------------------------
Graphically show the hierarchy of teams.
Since version 7.
--------------------------------------------------------------------------
Form:
[levels,fig] = ShowTeams( teams, fig )
--------------------------------------------------------------------------
------
Inputs
------
teams (.) Data structure array of teams, with the following fields:
- name: name of team (string)
- memID: member ID numbers (1-D numeric array)
- refID: reference ID number
fig (1) Handle to figure (optional). Default is to generate new figure.
-------
Outputs
-------
levels (1,N) Level of each team. (Level 1 is at top of hierarchy).
fig (1) Handle to figure.
--------------------------------------------------------------------------
Children:
FormationFlying: Visual/TeamLevels