Uses “gdens_tree” to plot the bins of a density matrix M of points in a tree intree. sr sets the resolution (size of the bins) and thr a threshold for the transparency. Opacity and colours increase with density. The individual bins are shaped like lego pieces.

Example 1:

>> tree = resample_tree (sample_tree, 1);

>> lego_tree (tree, 5)
  ← without the resampling, most bins along the tree will be empty since no nodes exist there



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