주요 콘텐츠

property editors

GUIs to edit properties of objects on axesm-based map

Activation

Alternate-click mapped object (for Click-and-Drag Property Editor)

In plot edit mode, double-click mapped object (to obtain MATLAB® Property Editor; click the More Properties... button to open the Property Inspector)

Description

Alternate (e.g., Ctrl+clicking 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 axesm-based maps, lines, text, patches, and surfaces, and the properties supported for each object type are shown below.

In plot edit mode, double-clicking a mapped object activates the MATLAB Property Editor for that object. From the Property Editor you can launch the Property Inspector, a GUI that lists the properties and values of the selected object and allows you to modify them.

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 an axesm-based map

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 character vector. 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 the background of the property editor closes the Click-and-Drag editing session.

Guide Property Editor

The MATLAB Property Inspector allows you to view and modify property values for most properties of the selected object. Use it to expand and collapse the hierarchy of objects, showing an object's parents and children. A plus sign (+) before a property indicates that it can be expanded to show its components, for example the axes AmbientLightColor applied to the surface object displayed below. A minus sign (-) before an object indicates an object can be collapsed to hide its components. 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.

A lit surface object in an axesm-based map

Property Inspector view of axes object

Version History

Introduced before R2006a