This function is just for plotting frame/bar structure. This can be used if you want to make complex structure by matlab code before deploying it into another FEM software (i.e. SAP2000 OAPI, OpenSees), instead of drawing manually all the complex nodes & elements in the software. Example of diagrid structure is included.
1. node coordinate matrix (rows are the nodes, columns are X Y Z)
2. element connectivity matrix (rows are the element, columns are two connected nodes)
Output: structure plot graph