Plots a 2D contour c obtained e.g. from “contourc” (see Matlab function). A contour c is defined by:

c = [contour1 x1 x2 x3 ...  contour2 x1 x2 x3 ...;
  #number_of_pairs y1 y2 y3 ...  #number_of_pairs y1 y2 y3 ...]'

“hull_tree” can for example produce such a contour and this can be used to describe the spanning field of a neuronal tree in the construction process. The contour plot is offset by XYZ 3-tupel DD and coloured with RGB 3-tupel color. HP is the handle to the graphical object.

Example:

>> for ward = 1:10,

>> c = hull_tree (sample2_tree, ward, [], [], [], '-2d');

>> HP = cplotter (c, rand (1, 3), 2*[ward ward ward])

>> end

TREES

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