A new, improved way to graphically change a 3d viewing angle


Updated 12 Oct 2001

View License

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.

Cite As

Brandon Kuczenski (2023). clickmove.m (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Discrete Data Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes