User`s guide

R2006b
21-30
rendering, and other printing characteristics in this new dialog. The Page Setup and
Print Setup dialogs still exist, and the Print dialog that you call from File —> Print
remains the same. The Page Setup dialog is available on all platforms.
For more information, see Using Print Preview in the MATLAB Graphics documentation
and printpreview in the MATLAB function reference documentation.
Compatibility Considerations
The Page Setup dialog no longer is available from the figure window File menu.
However, it does continue to exist; you can raise it using the pagesetupdlg command.
The old Print Preview dialog has been removed, however. The old Print Setup dialog
can be raised using the command
print -dsetup
When you dismiss the Print Setup dialog with OK, the settings you made with it are
saved, but nothing is printed at that time.
Zoom Mode Now Supports Mouse Scroll Wheel
If your mouse has a center scroll wheel, you can use it to zoom in and out of axes, as well
as by clicking and/or dragging.
You can zoom in by positioning the mouse cursor where you want the center of the plot
to be and either press the mouse button or rotate the mouse scroll wheel away from you
(upward). Zoom out by positioning the mouse cursor where you want the center of the
plot to be and either simultaneously press Shift and the mouse button, or rotate the
mouse scroll wheel toward you (downward). Each mouse click or scroll wheel click zooms
in or out by a factor of 2.
Data Cursor Text Can Now Be Programmatically Modified
You can now easily customize the text of datatips. The datacursormode function
lets you specify the contents and formatting of text displayed by the data cursor tool.
When the data cursor tool is active, you can use its context (right-click) menu to edit or
specify the text update function that MATLAB executes to display datatips. For more
information, see Data Cursor — Displaying Data Values Interactively in the MATLAB
Graphics documentation and datacursormode in the MATLAB Function Reference
documentation.