Plot a 3d model in a gimbal frame for visualizing animal orientation

F = plot_3d_model(fname) % Matlab & Octave

The 3d model is plotted in the current figure. This function clears any plot already in the figure to ensure that the plot will appear.

Input var Description Default value
fname (optional) name of a pair of files containing the points and connections of a wire frame. These files should have suffix .pts and .knx, respectively. If fname is not given, files for a 3d plot of a dolphin will be loaded. “dolphin”
Output var Description Units
F is a structure containing handles to the components of the display which can then be manipulated using rot_3d_model N/A

### Matlab & Octave

F=plot_3d_model;