User`s guide
R2007b
19-30
Graphics and 3-D Visualization
Datatips Are Now Saved to FIG-Files
When you save a figure, all datatips existing in it are saved along with other annotations.
When you open the FIG-file, the datatips are displayed and can be manipulated or
deleted in the same ways they could in the original figure.
Compatibility Considerations
If you open a FIG-file containing datatips while using a previous MATLAB version (V7.4
or earlier), no error results, but the datatips do not display.
New Options for Displaying Groups of Lines in Legends
You can now customize how legends for figures display groups of lines, such as contours.
Previously, legends displayed groups of lines such as contourgroups with a glyph that
represented the entire group; now users have the flexibility to designate a single legend
entry, a legend entry for each child of the group, or no legend entries for the group.
By default, a legend entry for an hggroup now consists of the DisplayName of its first
child and a glyph representing it (previously, no glyph appeared, only the DisplayName).
This is what you now see after clicking the legend tool icon in the figure's toolbar.
However, you can set the new Annotation property of hggroups to control how the
group is represented in a legend. For details and examples of its use in customizing
legends, see Controlling Legends in the Graphics documentation.
Drawnow Update Option Now Updates Uicontrols Only
The drawnow command can now selectively update the display of UI components. The
update option enables you to update only uicontrol objects without allowing callbacks to
execute or processing other events in the queue.
Annotation Textboxes Can Automatically Resize to Fit their Contents
In previous releases, textboxes had fixed sizes that users needed to adjust to fit the
size of their contents. Now, if you create a textbox annotation using a GUI or the