nocad.viz.plot_depth_map#
- nocad.viz.plot_depth_map(adj, nodes, kind='control', pos=None, ax=None, regions=True, labels=None, node_size=240, title=None, colorbar=True, drivers=None, sensors=None)[source]#
Network colored by control depth \(\rho^C_i\) (or observation depth \(\rho^O_i\)).
Every state is colored by its distance from the nearest driver node (to the nearest sensor node); the light hulls are the control (observation) regions, the sets of states that share their nearest driver (sensor). The largest depth is the relative order of the configuration; states that no driver reaches (that reach no sensor) are drawn white with a vermilion rim.
- Parameters:
- nodesarray_like
ofint Driver nodes (
kind="control") or sensor nodes (kind="observation").
- nodesarray_like