Measure the distance between two nodes.
out = hplot.measure(mode)
out = hplot.measure('deformed')
This method measures the distance between two nodes in a model. The user selects the two nodes on the plot. These nodes will be labeled as they are selected. The labels will remain until you change the display or issue another command, so you can see what was selected. To force a display refresh after using MEASURE, you can use
>> hplot.v.canvas.repaint();
Pressing the <ESC> key will cancel the measurement command.
MODE specifies the model from which the entities are extracted -- 'undeformed' (default) or 'deformed'.
OUT is a 1x3 vector containing the first and second nodes selected, and the distance between them. If the user cancels, OUT will be empty.