This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Why Is the Children Property Empty for Some Objects?

In R2014a and earlier, chart objects, legends, and colorbars contain handles to underlying objects in their Children properties. For example, a scatter series contains patch objects in its Children property. Changing property values of the patch object changes the appearance of the scatter series.

Starting in R2014b, these objects do not contain handles to underlying objects in their Children properties. To customize the graph, use properties of the actual object. This table lists the affected objects.

ObjectChildren in R2014a and EarlierChildren Starting in R2014bAlternate Options
Colorbarimage objects0x0 empty GraphicsPlaceholder arrayUse colorbar properties to modify the colorbar.
Legendline, patch, and text objects0x0 empty GraphicsPlaceholder arrayGet the handles to these objects using the output arguments from the legend function.
Areapatch objects0x0 empty GraphicsPlaceholder arrayUse area properties to modify the area.
Bar seriespatch objects0x0 empty GraphicsPlaceholder arrayUse bar series properties to modify the bars.
Contourpatch objects0x0 empty GraphicsPlaceholder arrayUse contour properties to modify the contour lines.
Errorbar seriesline objects0x0 empty GraphicsPlaceholder arrayUse errorbar series properties to modify the errorbars.
Scatter seriespatch objects0x0 empty GraphicsPlaceholder arrayUse scatter series properties to modify the markers.
Stairline objects0x0 empty GraphicsPlaceholder arrayUse stair properties to modify the stairs.
Stem seriesline objects0x0 empty GraphicsPlaceholder arrayUse stem series properties to modify the stems and markers.
Quiver seriesline objects0x0 empty GraphicsPlaceholder arrayUse quiver series properties to modify the arrows.

See Also

| | | | | | | | |