Set the deformed displacement display component.
hplot.setdisplacementcomponent([comp][,'scale_factor',SCALE_FACTOR])
SETDISPLACEMENTCOMPONENT sets the deformed result component being displayed and the deformed scale factor.
COMP is either a string containing the component or a numeric scalar containing the index into the component list found here:
HPLOT.displacement.shapecomponents
If COMP is not provided, the current component index will be used.
SCALE_FACTOR is either the string 'reset' or a numeric scalar used to scale the deformed shape.
>> h.setdisplacementcomponent('Y')
>> h.setdisplacementcomponent(1)
>> h.setdisplacementcomponent('magnitude')
>> h.setdisplacementcomponent('scale_factor','reset')
>> h.setdisplacementcomponent('scale_factor',2.0)
>> h.setdisplacementcomponent('Y','scale_factor',2.0)