No BSD License  

Highlights from
Mouse Up Rotation

2.5

2.5 | 2 ratings Rate this file 1 Download (last 30 days) File Size: 3.39 KB File ID: #1351

Mouse Up Rotation

by Darren Weber

 

18 Feb 2002

Rotate a 3D patch with mouse.

| Watch this File

File Information
Description

This function provides continuous rotation of a 3D figure on the mouse up click. This may prevent a little bit of RSI ;-) It displays the elevation and azimuth values while rotating. Rotation is in the direction of mouse movement away from the centre of the figure window. When the next mouse click up is registered, the rotation stops and the current elevation and azimuth values are returned to the workspace.

This function is based on an earlier one from MATLAB Central, as noted in the .m file.

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
13 Feb 2004 Jocke K

Nice!
Set 'DoubleBuffer' to 'on' in the first set-statement in the 'init'-case to avoid flickering.

12 Mar 2005 P. Ahmed

Impractical thiking......... unecessary burden the function

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data exploration Darren Weber 22 Oct 2008 06:42:15
3d Darren Weber 22 Oct 2008 06:42:15
view interaction Darren Weber 22 Oct 2008 06:42:15
graphics Darren Weber 22 Oct 2008 06:42:15
graphical data Darren Weber 22 Oct 2008 06:42:15
exploration Darren Weber 22 Oct 2008 06:42:15

Contact us at files@mathworks.com