dispbeam2ΒΆ
- Purpose:
Draw the displacements for a two dimensional beam element.
- Syntax:
[sfac] = dispbeam2(ex, ey, edi) [sfac] = dispbeam2(ex, ey, edi, plotpar) dispbeam2(ex, ey, edi, plotpar, sfac)
- Description:
Input variables are the coordinate matrices
exandey, see e.g.beam2e, and the element displacementsediobtained by e.g.beam2s.The variable
plotparsets plot parameters for linetype, linecolour and node marker:plotpar\(= [\, linetype \;\; linecolor \;\; nodemark \,]\)where
\(linetype\)
\(linecolor\)
\(nodemark\)
1
solid line
1
black
1
circle
2
dashed line
2
blue
2
asterisk
3
dotted line
3
magenta
0
no mark
4
red
Default is dashed black lines with circles at nodes.
The scale factor
sfacis a scalar that the element displacements are multiplied with to get a suitable geometrical representation. Ifsfacis omitted in the input list, the scale factor is set automatically.