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 ex and ey, see e.g. beam2e, and the element displacements edi obtained by e.g. beam2s.

The variable plotpar sets 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 sfac is a scalar that the element displacements are multiplied with to get a suitable geometrical representation. If sfac is omitted in the input list, the scale factor is set automatically.