User`s guide
Graphics
2-25
Functionality Result Use Instead Compatibility Considerations
hist function Still runs histogram
function
Use histogram instead of
hist.
colorbar('peer',ax)
syntax
Still runs colorbar(ax)Replace all instances of
colorbar('peer',ax)
with colorbar(ax).
Using 0 to access the root
object
Still runs groot
command
Use the groot command to
access the root object instead
of 0.
EraseMode property for all
graphics objects
Warns Not
applicable
Remove all instances of the
EraseMode property. For
more information, see How
Do I Replace the EraseMode
Property?.
noanimate function Warns Not
applicable
Remove all instances of the
noanimate function. For
more information, see How
Do I Replace the EraseMode
Property?.
HitTestArea property for
group, transform, and chart
objects
Errors The
PickableParts
property
Remove all instances of the
HitTestArea property. To
control the area of an object
that captures mouse clicks,
use the PickableParts
property.
Using the vertical slash
character (|) in a string to
separate text for tick labels
or text objects
Does not
separate text
Use a cell
array of
strings,
a padded
string
matrix, or
numeric
vectors
Replace instances of using
the vertical slash character
(|) to define multiple strings
with a cell array of strings,
a padded string matrix, or
numeric vectors.