Draws a line through a section (or path) out of a tree intree.
The section must be a directed path away from the root as obtained by
“dissect_tree”
for example
(or “ipar_tree”).
Plot is offset by XYZ 3-tupel DD and coloured with RGB 3-tupel color.
Providing parental paths matrix ipar
(see “ipar_tree”)
speeds up the plotting significantly.
HP is the handle to the graphical object.
indy outputs the nodes on the path.
Example:
>> [HP indy] = plotsect_tree (sample2_tree, [1 13], [1 0 0]);
← selected section is - start node: 1; end node: 13
← RGB values correspond to red
>> indy
[13, 12, 11, 10, 3, 2, 1]
>> set (HP, 'marker', '.');
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License