Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

zdatam

Adjust z-plane of displayed map objects

Syntax

zdatam
zdatam(hndl)
zdatam('str')
zdatam(hndl,zdata)
zdatam('str',zdata)

Description

zdatam displays a GUI for selecting an object from the current axes and modifying its ZData property.

zdatam(hndl) and zdatam('str') display a GUI to modify the ZData of the object(s) specified by the input. str is any character vectors recognized by handlem.

zdatam(hndl,zdata) alters the z-plane position of displayed map objects designated by the MATLAB® graphics handle hndl. The z-plane position may be the Z position in the case of text objects, or the ZData property in the case of other graphic objects. The function behaves as follows:

  • If hndl is an hggroup handle, the ZData property of the children in the hggroup are altered.

  • If the handle is scalar, then ZData can be either a scalar (z-plane definition), or a matrix of appropriate dimension for the displayed object.

  • If hndl is a vector, then ZData can be a scalar or a vector of the same dimension as hndl.

  • If ZData is a scalar, then all objects in hndl are drawn on the ZData z-plane.

  • If ZData is a vector, then each object in hndl is drawn on the plane defined by the corresponding ZData element.

  • If ZData is omitted, then a modal dialog box prompts for the ZData entry.

zdatam('str',zdata) identifies the objects by the input str, where str is any of the character vectors recognized by handlem, and uses zdata as described above to update their ZData property.

This function adjusts the z-plane position of selected graphics objects. It accomplishes this by setting the objects' ZData properties to the appropriate values.

See Also

|

Introduced before R2006a

Was this topic helpful?