Updated 12 Oct 2001
This function adds to the arguably cluttered field of 3d-plot view-rotation functions. However, I feel that this one is an improvement over current offerings because of its intuitive interface, one that almost *always* responds as you expect it to when you move the mouse. Also, unlike Matlab's canned version, it continues to display the graphics as the image is rotated.
Clickmove utilizes doublebuffering as well as the figure's userdata. And, of course, it cleans up after itself.
Editor's Note: Some of the limitations addressed by this file, such as allowing you to view the plot while it's animated, have been addressed in the Camera Toolbar available under the View menu in MATLAB 6.0 and later.
Brandon Kuczenski (2023). clickmove.m (https://www.mathworks.com/matlabcentral/fileexchange/912-clickmove-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.