eldraw2ΒΆ

Purpose:

Draw the undeformed mesh for a two dimensional structure.

Syntax:

eldraw2(Ex, Ey)
eldraw2(Ex, Ey, plotpar)
eldraw2(Ex, Ey, plotpar, elnum)
Description:

eldraw2 displays the undeformed mesh for a two dimensional structure.

Input variables are the coordinate matrices Ex and Ey formed by the function coordxtr.

The variable plotpar sets plot parameters for linetype, linecolor and node marker:

plotpar\(= [\, \text{linetype} \;\; \text{linecolor} \;\; \text{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 solid black lines with circles at nodes.

Element numbers can be displayed at the center of the element if a column vector elnum with the element numbers is supplied. This column vector can be derived from the element topology matrix Edof:

elnum = texttt{Edof}(:,1)

i.e. the first column of the topology matrix.

Limitations:

Supported elements are bar, beam, triangular three node, and quadrilateral four node elements.