imat_vtkplot/displaysubset (+FEA)


Purpose

Display a subset of the FEM.

Syntax

hplot.displaysubset(group)
hplot.displaysubset('element',EID,'node',NID')
hplot.displaysubset()

Description

DISPLAYSUBSET displays the node and element IDs specified by the inputs.

GROUP is an imat_group containing a single group. DISPLAYSUBSET uses the node and element IDs in the group.

The string 'element' followed by a numeric vector EID displays the element IDs listed in EID. If EID is the string 'all', DISPLAYSUBSET displays all of the FEM elements.

The string 'node' followed by a numeric vector EID displays the element IDs listed in EID. If EID is the string 'all', DISPLAYSUBSET displays all of the FEM elements.

If a GROUP and element and/or node IDs are specified, DISPLAYSUBSET displays the union of the IDs specified in all of the inputs.

Examples

>> h.displaysubset(group)
>> h.displaysubset('element',1:10,'node','all')
>> h.displaysubset('element',1:10)
>> h.displaysubset()