<< plotdeforme FEMTruss plotsection >>

FEMTruss >> FEMTruss > plotmesh

plotmesh

Plot a truss structure

Calling Sequence

plotmesh(t,p,NodeLabels,EltLabels,_color)

Parameters

t

a matrix containing the list of bars. It's a nbars x 2 matrix. First column corresponds to the point number which starts the bar. Second column corresponds to the point number which ends the bar.

p

a matrix containing the coordinate of the points. It's a npoints x 2 matrix for a 2 dimensions structure and a npoints x 3 for a 3 dimensions structure.

NodeLabels

if %T then plot the node number of each nodes.

EltLabels

if %T then plot the bar number of each bars.

_color

the color of the bars.

Description

Plot a truss structure.

Examples

[t,p,e,A,E,rho,F] = build_fem_test('bridge2d');

scf();
plotmesh(p,t,%T,%T,'green');
title('Deformation');

See Also

Authors


<< plotdeforme FEMTruss plotsection >>