neat.MorphTree.makeXAxis¶
-
MorphTree.
makeXAxis
(dx=10.0, node_arg=None, loc_arg=None)[source]¶ Create a set of locs suitable for serving as the x-axis for 1D plotting. The neurons is put on a 1D axis with a depth-first ordering.
- Parameters
dx (float) – target separation between the plot points (micron)
node_arg – see documentation of MorphTree._convertNodeArgToNodes The nodes on which the locations for the x-axis are distributed. When this is given as a list of nodes, assumes a depth first ordering.
loc_arg (list of locs or string) – if list of locs, these locs will be used as x-axis, if string, name of set of locs on the morphology that will be used as x-axis