Visualize Reference Frame

Add a reference frame visualization using r/g/b to represent the x/y/z.

You are now following this Submission

This function adds a reference frame a specified parent or the current axes using red/green/blue to represent the x, y, and z-directions respectively. An hgtransform object is returned that is the parent of three line objects representing the specified axes. A number of parameters can be varied allowing the user to adjust the reference frame representation as needed.

Cite As

Michael Kutzer (2026). Visualize Reference Frame (https://nl.mathworks.com/matlabcentral/fileexchange/48810-visualize-reference-frame), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0