File Exchange

image thumbnail

Visualize Reference Frame

version (3.87 KB) by Michael Kutzer
Add a reference frame visualization using r/g/b to represent the x/y/z.


Updated 19 Dec 2014

View License

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 (2021). Visualize Reference Frame (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!