| Graphics and 3-D Visualization, MATLAB® Version 7.4 (R2007a) Release Notes | ![]() |
New features and changes introduced in this version are:
Property Inspector Now Categorizes Graphic Object Properties
Figure WindowScrollWheelFcn Property Programs Scrollwheel Events
In plot edit mode, annotations such as textboxes, lines, arrows, doublearrows, and text now respond to pressing directional arrow keys. Each keypress will move the selected annotation(s) one or more pixels in the indicated direction. If you select multiple objects, they all move together in response to arrow key strokes. Normally, selected objects move one pixel with each press of an arrow key. If you have selected Snap to Layout Grid from the Tools menu, each keypress makes objects move to the next grid position.
The movie function no longer plays each frame one extra time. Previously, it would show frames as they were loaded into memory to speed up display. This behavior is no longer required and has been eliminated.
If you have code that calls movie in a loop a certain number of times and want that number to remain the same, you need to add one iteration to the loop.
The Ghostscript software used by some print devices has been upgraded from an older version to Version 8.54. Starting in this release, The MathWorks is no longer shipping a separate, standalone Ghostscript executable program.
If you have written M-code based on undocumented functions that called the old version of Ghostscript, your code will no longer work.
As a consequence of this upgrade, support for printing on DEC LN03 printers (print —dln03) has been removed from MATLAB.
The Property Inspector (accessed via the Property Editor, GUIDE, and the inspect function) now provides tree views of groups of graphic object properties as well as an alphabetical list of all properties. You can switch between views via the two buttons at the top of the window, as shown in the following picture of the tree view of the Printing category:

In addition, the type of object currently being inspected is now shown in the title bar of the Property Inspector window. Formerly it was shown in the gray area below the title bar, which now contains the view manipulation buttons.
To change view, click a button without the blue background (the collapse and expand buttons at right are disabled in alphabetic list view). When you change views, the selected property stays the same. To inspect properties of graphic objects in the tree view, click the + icon next to a category of interest. Do the same to open properties within a category that have multiple elements. Note that only Handle Graphics objects have categories; annotation and most other MATLAB objects can be displayed only in alphabetic list view.
The functionality of the Property Inspector has not changed; only its GUI has. As previously, if you select a set or array of objects and inspect them, the Property Inspector only displays those properties that all the objects share.
For details on using the Property Inspector, see Accessing Object Properties with the Property Inspector in the MATLAB Graphics documentation and the inspect reference page.
Text that you type or delete after clicking a text field that has a text widget icon (for example, XTickLabel), will not persist unless you press Return before clicking elsewhere. This mimics the behavior of clicking the text widget icon to open a text entry dialog box, typing into it, and accepting the result by clicking OK. This behavior differs from that which existed prior to R2006b (MATLAB V. 7.3).
The new figure property WindowScrollWheelFcn enables you to write a callback function that handles mouse wheel scrolling events while the figure has focus. See the documentation for the figure WindowScrollWheelFcn for more information.
The new figure property KeyReleaseFcn enables you to write a callback function that handles key release events (analogous to KeyPressFcn). See the documentation for the figure KeyReleaseFcn for more information.
![]() | Programming, MATLAB Version 7.4 (R2007a) | Creating Graphical User Interfaces (GUIs), MATLAB Version 7.4 (R2007a) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |