Virtual trackball to rotate the view of a 3-D plot interactively.
If FindJObj is installed, the view can also be scaled (2nd mouse button) and dragged (3rd mouse button).
Tobias (2021). Virtual Tackball (https://www.mathworks.com/matlabcentral/fileexchange/25102-virtual-tackball), MATLAB Central File Exchange. Retrieved .
Inspired by: findjobj - find java handles of Matlab graphic objects
Inspired: trackball for better viewing 3D plot
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Hi Tobias. I think your code is a step in the right direction. Is it possible to speed up the response of the trackball? It is very sluggish in the worked example.
Thomas
Missing the following dependent functions:
normr(), normc().
The function is unusable without these.