imat_vtkplot/labelelements (+FEA)


Purpose

Label elements on undeformed or deformed plot.

Syntax

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

Description

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

 

ID is a 1-D vector of node IDs to be labeled. To clear all of the labels, pass in 'clear' as the ID.

The optional input string 'size' followed by a numeric scalar sets the label size. The default size is 12. Please note that the size also affects the node label size.