<< localise3d FEMTruss plotdeforme >>

FEMTruss >> FEMTruss > plot_truss

plot_truss

Plot a truss structure

Calling Sequence

plot_truss(p,t)

Parameters

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.

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.

Description

Plot a truss structure

Examples

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

scf();
plot_truss(p,t);
title('The bridge structure');

See Also

Authors


Report an issue
<< localise3d FEMTruss plotdeforme >>