function traj_plot( M ) plot3( M( :, 1 ), M( :, 3 ), M( :, 2 ) ); xlabel( 'X' ); ylabel( 'Z' ); zlabel( 'Y' ); axis( [ -2, 4, 0, 6, -2, 4 ] ); view( [-0.4, -0.4, 1 ] );