<< plotmesh FEMTruss rank_efficient_struct >>

FEMTruss >> FEMTruss > plotsection

plotsection

Plot the sections of a truss structure.

Calling Sequence

plotsection(t,p,s)

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.

s

a matrix containing the section of the bars. It's a vector of size nbars.

Description

Plot the sections of a truss structure.

Examples

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

A = 1:length(A); // change the sections of the structure

scf();
plotsections(p,t,A);
title('Sections');

See Also

Authors


<< plotmesh FEMTruss rank_efficient_struct >>