imat_vtkplot/labelnodes (+FEA)


Purpose

Label elements on undeformed or deformed plot.

Syntax

hplot.labelnodes(mode,id)
hplot.labelnodes('undeformed',id,'size',20)
hplot.labelnodes('deformed','clear')
hplot.labelnodes('deformed')

Description

This method labels the nodes of the model. MODE controls which model the labels will be associated to -- 'undeformed' or 'deformed'.

ID is an optional 1-D vector of node IDs to be labeled. To clear all of the labels, pass in 'clear' as the ID. If ID is not passed in, all nodes will be labeled.

The optional input string 'size' followed by a numeric scalar sets the label size. The default size is 12.