Draws pointers away at random positive deflections of length ~llen from nodes inodes in tree intree. Pointer are offset by XYZ 3-tupel DD and coloured with RGB 3-tupel color. By default these are simple spheres. With options '-l' or '-v' the pointers look a bit like thin or thick electrodes respectively. HP is the handle to the graphical object.

Example:

green spheres around nodes #8, #5 and #2

>> HP = pointer_tree (tree, [8 5 2], [], [0 1 0]);

red “patch” electrode on node #4

>> HP = pointer_tree (tree, 14, 100, [1 0 0], [], '-v');

blue transparent “sharp” electrode on node #15

>> HP = pointer_tree (tree, 15, 50, [0 0 1], [], '-l');

>> set (HP, 'facealpha',.1);

TREES

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License