User`s guide

R2014b
2-24
Compatibility considerations for graphics changes
The graphics changes introduced in R2014b support most of the functionality from
previous releases, although there are some differences. Some of the changes that you are
most likely to encounter are listed here.
Plotting multiple lines with hold on uses the next color in the color order instead of
starting from the first color with each plotting command.
The Clipping property clips plotted objects to the six sides of the axes box defined
by the axis limits. In previous releases, the Clipping property clips objects to the
smallest 2-D rectangle that encloses the axes.
If you add new data to a graph after using an axis command, such as axis tight,
then MATLAB automatically updates the limits to incorporate the new data. In
previous releases, MATLAB does not update the axis limits based on changes in the
data.
Colorbars and legends are no longer axes objects. They are new types of objects with
their own sets of supported properties.
The Children property for charting objects, legends, and colorbars no longer contains
handles to underlying objects.
copyobj no longer copies callbacks and application data. If you have existing code
that copies object callback properties and object application data, use the copyobj
function with the 'legacy' option. This behavior is consistent with versions of
copyobj before MATLAB release R2014b.
For troubleshooting topics related to these changes, see Graphics Changes in R2014b.
For a list of removed properties and syntaxes, see the tables under “Properties and
syntaxes being removed or changed” on page 2-24 and “Save and print functionality
being removed or changed” on page 2-29.
Some graphics features might not work or might be unreliable because of outdated
graphics drivers. For the best results with graphics, upgrade to the latest graphics
drivers provided by your graphics hardware manufacturer. For more information, see
System Requirements for Graphics.
Properties and syntaxes being removed or changed
Functionality Result Use Instead Compatibility Considerations
hold all syntax Still runs hold on Replace all instances of hold
all with hold on.