`Plot_DeformedStructure`

## Purpose

plot deformed shape of the structure

## Synopsis

`LnHndl = Plot_DeformedStructure (Model,ElemData,U,Post,PlotOpt)`

## Description

PLOT_DEFORMEDSTRUCTURE plot deformed shape of the structure PLOT_DEFORMEDSTRUCTURE (MODEL,ELEMDATA,U,POST,PLOTOPT) the function plots the deformed shape of the structural model in data structure MODEL based on the current displacements in vector U and the element deformations; the cell array ELEMDATA contains information about element properties and loading; POST is either the vector of the element deformations Veps, or a cell array with the element deformations in subfield ve of field Elem; this information is optional; if not given, the function assumes that all element ends are continuous; PLOTOPT is a data structure for plotting options with the following fields: MAGF : magnification factor for deformed shape (default=10) EList: list of elements to include in deformed shape (default all elements) LnStl: line style for deformed shape (default = '-', i.e. solid line) LnWth: line thickness for deformed shape (default = 2) LnClr: color for deformed shape (default = 'r', i.e. red) PlJnt: switch for plotting joint offsets (default='yes') PlCrd: switch for plotting element chord (default='no') PlRel: switch for plotting element releases (defaul='yes') HngSF: scale factor for size of release symbol (default = 1) HOfSF: scale factor for offset of flexural hinge symbol from element end (default = 1) PlBnd: switch for displaying boundary symbols (default='yes') BsClr: color for boundary nodes and symbols (default=[0.6 0 0.6]) NodSF: scale factor for size of boundary symbol (default = 1) AHClr: display color of axial hinges or releases (default = light gray) FHClr: display color of flexural hinges or releases (default = white) ModSF: switch for adjusting scale factor relative to element size (default = 'yes')

## Cross-Reference Information

This function calls:

- DeformShape2dFrm deformed shape of linear elastic, uniform, prismatic 2d frame element
- DeformShape3dFrm deformed shape of linear elastic, uniform, prismatic 3d frame element
- Localize returns the node coordinates and id array of element
- TranJnt sets up transformation matrix for finite size joints
- Get_HngPos4DefoElem determine axial and flexural hinge position for deformed element
- Get_ModelScale determines maximum and minimum element length in Model
- Plot_BounCond plots symbols for boundary conditions of structural model
- Plot_Model plots the original or deformed geometry of the structural model

- Animate_EventSequence generate plot sequence with location of plastic hinges for each event
- Animate_ResponseHistory interactive or recorded animation of response history