Many ways were implemented to explore the tree visually, for example:
>> xplore_tree; axis off;
this is equivalent to „xplore_tree (1)“
or „xplore_tree (trees{1})“ or
„xplore_tree ([])“.
But the most common function will be:
>> plot_tree (1, [1 0 0]);
which takes a color as a first argument, here RGB: red.
This is all in 3D of course. This becomes clearer when adding light (turning on opengl) and adopting another view:
>> shine; axis off; view (15,55);
Importantly, the color can also be an Nx1 vector which is then mapped to the color of the tree:
>> plot_tree (1, BO_tree (1));
>> colorbar;
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License