M-File Help: trplot View code for trplot

trplot

Draw a coordinate frame

trplot(R, options) draws a 3D coordinate frame represented by the orthonormal rotation matrix R (3x3).

Options

'color', c The color to draw the axes, MATLAB colorspec
'noaxes' Don't display axes on the plot
'axis', A Set dimensions of the MATLAB axes to A=[xmin xmax ymin ymax]
'frame', F The frame is named {F} and the subscript on the axis labels is F.
'text_opts', opt A cell array of Matlab text properties
'handle', h Draw in the MATLAB axes specified by h
'view', V Set plot view parameters V=[az el] angles, or 'auto' for view toward origin of coordinate frame
'arrow' Use arrows rather than line segments for the axes
'width', w Width of arrow tips

Examples

trplot(T, 'frame', 'A')
trplot(T, 'frame', 'A', 'color', 'b')
trplot(T1, 'frame', 'A', 'text_opts', {'FontSize', 10, 'FontWeight', 'bold'})

Notes

See also

trplot2, tranimate


 

© 1990-2011 Peter Corke.