trackball for better viewing 3D plot

Better 3D plot viewing than Matlab's default rotate3d

You are now following this Submission

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 (2026). trackball for better viewing 3D plot (https://au.mathworks.com/matlabcentral/fileexchange/56922-trackball-for-better-viewing-3d-plot), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Virtual Tackball

Categories

Find more on Interactions, Camera Views, and Lighting in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

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

1.0.0.0

improve title