trackball for better viewing 3D plot

Better 3D plot viewing than Matlab's default rotate3d
234 Downloads
Updated 5 May 2016

View License

Matlab's default rotate3d suffers from Gimbol-Lock effect. Using this trackball function, one can better enjoy 3D plot viewing.
Example:
figure;
sphere(36);
axis equal;
grid on;
trackball on;
Enjoy!

Cite As

simbaforrest (2024). trackball for better viewing 3D plot (https://www.mathworks.com/matlabcentral/fileexchange/56922-trackball-for-better-viewing-3d-plot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on 3-D Scene Control in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Virtual Tackball

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

improved title
fixed a minor bug for add/remove the temp center dot

1.0.0.0

improve title