Many ways were implemented to explore the tree visually, for example:

>> xplore_tree; axis off;

TREES

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]);

TREES

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);

TREES

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;

TREES

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