User`s guide

Graphics and 3-D Visualization
21-31
Customizing Zoom, Pan, and Rotate3D Data Explore Modes
You can now customize the behavior of data explore modes by modifying the zoom, pan
and rotate3d objects that are dereferenced as follows:
h = pan(figure_handle)
h = rotate3d(figure_handle)
h = zoom(figure_handle)
These syntaxes create mode objects that you can use to control the behaviors of the
explore tools. Among the effects you can achieve using these explore mode objects are
Allow, change, or inhibit a mode for a specified axes
Create callbacks for pre- and post-buttonDown events
Change callbacks dynamically
See pan, rotate3d, and zoom in the MATLAB Function Reference documentation for
details and examples.
Compatibility Considerations
Using mode objects can cause a forward incompatibility. In prior releases, explore modes
did not return an argument. Therefore, code such as the above examples that you write
to take advantage of the new API will not run in MATLAB versions prior to R2006b.
zoom, pan, and rotate3d code written for previous MATLAB versions, however, will run
as before (there is no backward incompatibility).
Improvements to MATLAB Graphics Documentation
A new section in the Graphics User Guide, Types of MATLAB Plots, now includes a
gallery of graphs that catalogs the kinds of plots that you can create using MATLAB
graphics functions. There are two tables containing labeled icons, one for Two-
Dimensional Plotting Functions, and one for Three-Dimensional Plotting Functions,
classified by plot type. Clicking the function name above any thumbnail plot in the
gallery opens the reference documentation for that function.
Reference pages for functions that create, edit, annotate, and save plots have been
enhanced in several ways:
Thumbnail figures at the top of plotting functions and related GUI reference pages
illustrate what you see when you invoke these functions.