Mapping Toolbox | ![]() ![]() |
Edit properties of mapped objects using display-activated property editors
Activation
Description
Alternate-clicking on a mapped object activates a property editor, which allows modification of some basic properties of the object through simple mouse clicks and drags. The objects supported by this editor are map axes, lines, text, patches, and surfaces, and the properties supported for each object type are shown below.
Double-clicking on a mapped object activates the MATLAB Guide Property Editor for that object. The Guide Property Editor provides a complete list of the properties and values of the selected object, allowing for modifications of the object.
Controls
Click-and-Drag Property Editor
The Click-and-Drag Editor lists object properties and values. The object tag appears at the top of the editor. Property names and values that appear in blue are toggles. For example, clicking Frame in the axes editor toggles the value of the Frame
property between 'on'
and 'off'
.
Click-and-Drag Editor for a map axes
Property values that appear on the right side of the editor box are modified by clicking and dragging. For example, to change the MarkerColor
property of a line object, click and hold the dot next to MarkerColor, and drag the cursor until the dot appears in the desired color.
Click-and-Drag Editor for a line object
The Drag control in the text editor is used to reposition the text string. In drag mode, use the mouse to move the text to a new location, and click to reposition the text. The Edit control in the text editor activates a Text Edit window, which is used to modify text.
Click-and-Drag Editor for a text object
The Marker property name in the patch editor is used to toggle the marker on and off. The property value to the right of Marker can be modified by clicking and dragging until the desired marker symbol appears.
Click-and-Drag Editor for a patch object
The Graticule control on the surface editor activates a Graticule Mesh dialog box, which is used to alter the size of the graticule.
To move the property editor around the figure window, hold down the Shift key while dragging the editor box. Alternate-clicking on the background of the property editor closes the Click-and-Drag editing session.
The MATLAB Guide Property Editor allows for modification of property values for all properties applicable to the selected object. The Object Browser is used to expand and collapse the hierarchy of objects, showing an object's parents and children. A plus sign (+) before an object indicates that the object can be expanded to show its children. A minus sign (-) before an object indicates an object can be collapsed to hide its children. To activate the Object Browser, check the Show Object Browser check box. The Property List shows all the property names of the selected object and their current values. To activate the Property List, check the Show Property List check box. To change a property value, use the edit boxes above the Property List. Pressing the Close button closes the Guide Property Editor and applies the property modifications to the object.
MATLAB Guide Property Editor for a surface object
See Also
propedit
guide
uimaptbx
![]() | pcolorm, surfacem, surfm | qrydata | ![]() |