This page documents the visible properties returned by properties for a functioncontour graphics object.
| Property | Action | Type and supported values |
|---|---|---|
| Annotation | updates annotation metadata used by graphics inspection. | Type: graphics annotation object or empty handle value. Supported values: annotation handle or empty handle. |
| BeingDeleted | reports object deletion state. | Type: text scalar or character row vector. Supported values: 'off', 'on'. |
| BusyAction | controls callback queuing while another callback is running. | Type: text scalar or character row vector. Supported values: 'queue', 'cancel'. |
| ButtonDownFcn | runs when the object receives a mouse-button event. | Type: callback value. Supported values: [], function handle, character vector, string scalar, or callback cell array. |
| Children | stores child graphics handles. | Type: graphics object handle vector. Supported values: empty vector or child handles. |
| Clipping | controls clipping to the parent axes. | Type: text scalar or character row vector. Supported values: 'on', 'off'. |
| ContextMenu | attaches a context menu to the object. | Type: graphics object handle scalar. Supported values: [] or a uicontextmenu handle. |
| ContourMatrix | stores generated contour segment data. | Type: numeric matrix. Supported values: [] or a contour matrix. |
| CreateFcn | runs when the object is created. | Type: callback value. Supported values: [], function handle, character vector, string scalar, or callback cell array. |
| DataTipTemplate | updates interactive data tip content. | Type: data tip template object or empty handle value. Supported values: data tip template handle or empty handle. |
| DeleteFcn | runs when the object is deleted. | Type: callback value. Supported values: [], function handle, character vector, string scalar, or callback cell array. |
| DisplayName | sets the label used by legends and object identification. | Type: text value. Supported values: character row vector or string scalar. |
| EdgeAlpha | sets contour line transparency. | Type: numeric scalar. Supported values: values in [0, 1]. |
| EdgeColor | sets the internal contour line color. | Type: color value. Supported values: RGB triplet, short or long color name, 'flat', 'interp', or 'none'. |
| FaceAlpha | sets filled contour transparency. | Type: numeric scalar or text value. Supported values: values in [0, 1], 'flat', or 'interp'. |
| FaceColor | sets filled contour color. | Type: color value. Supported values: RGB triplet, short or long color name, 'flat', 'interp', or 'none'. |
| Fill | controls whether contour bands are filled. | Type: text scalar or character row vector. Supported values: 'off', 'on'. |
| Floating | controls whether contours use their level as z-coordinate. | Type: text scalar or character row vector. Supported values: 'off', 'on'. |
| Function | sets the function sampled to generate contours. | Type: function handle. Supported values: scalar function handle with two inputs. |
| HandleVisibility | controls handle discovery. | Type: text scalar or character row vector. Supported values: 'on', 'off', 'callback'. |
| HitTest | controls whether the object can receive pointer events. | Type: text scalar or character row vector. Supported values: 'on', 'off'. |
| Interruptible | controls whether callbacks can be interrupted. | Type: text scalar or character row vector. Supported values: 'on', 'off'. |
| LabelColor | sets contour label color. | Type: color value. Supported values: RGB triplet, short or long color name, 'flat', 'interp', or 'none'. |
| LabelFormat | sets contour label formatting. | Type: text value or function handle. Supported values: format text, string scalar, or function handle. |
| LabelSpacing | sets spacing between contour labels. | Type: numeric scalar. Supported values: finite nonnegative values. |
| LevelList | sets contour levels. | Type: numeric vector. Supported values: real finite level values. |
| LevelListMode | selects automatic or manual contour levels. | Type: text scalar or character row vector. Supported values: 'auto', 'manual'. |
| LevelStep | sets spacing between generated contour levels. | Type: numeric scalar. Supported values: finite positive values. |
| LevelStepMode | selects automatic or manual level spacing. | Type: text scalar or character row vector. Supported values: 'auto', 'manual'. |
| LineColor | sets contour line color. | Type: color value. Supported values: RGB triplet, short or long color name, 'flat', 'interp', or 'none'. |
| LineStyle | sets contour line style. | Type: text scalar or character row vector. Supported values: '-', '--', ':', '-.', or 'none'. |
| LineWidth | sets contour line width. | Type: numeric scalar. Supported values: finite positive values. |
| MeshDensity | sets the number of sample points in each direction. | Type: positive integer scalar. Supported values: integers greater than one. |
| Parent | sets the parent axes. | Type: graphics object handle scalar. Supported values: axes handle. |
| PickableParts | controls which parts can receive pointer events. | Type: text scalar or character row vector. Supported values: 'visible', 'all', 'none'. |
| Selected | sets object selection state. | Type: text scalar or character row vector. Supported values: 'off', 'on'. |
| SelectionHighlight | controls selection highlighting. | Type: text scalar or character row vector. Supported values: 'on', 'off'. |
| ShowText | controls contour label display. | Type: text scalar or character row vector. Supported values: 'off', 'on'. |
| Tag | stores user text for object identification. | Type: text value. Supported values: character row vector or string scalar. |
| TextList | sets contour levels that receive labels. | Type: numeric vector. Supported values: real finite level values. |
| TextListMode | selects automatic or manual labeled levels. | Type: text scalar or character row vector. Supported values: 'auto', 'manual'. |
| TextStep | sets spacing between labeled contour levels. | Type: numeric scalar. Supported values: finite positive values. |
| TextStepMode | selects automatic or manual label spacing. | Type: text scalar or character row vector. Supported values: 'auto', 'manual'. |
| Type | reports the graphics object type. | Type: read-only text. Supported values: 'functioncontour'. |
| UserData | stores user data on the object. | Type: any Nelson value. Supported values: any value. |
| Visible | controls object visibility. | Type: text scalar or character row vector. Supported values: 'on', 'off'. |
| XData | stores sampled x-coordinates. | Type: numeric matrix. Supported values: real numeric matrix matching YData and ZData. |
| XDataMode | selects automatic or manual x-coordinate data. | Type: text scalar or character row vector. Supported values: 'auto', 'manual'. |
| XDataSource | stores the x-data source expression. | Type: text value. Supported values: character row vector or string scalar. |
| XRange | sets the sampled x-interval. | Type: two-element numeric vector. Supported values: finite increasing limits. |
| XRangeMode | selects automatic or manual x-range limits. | Type: text scalar or character row vector. Supported values: 'auto', 'manual'. |
| YData | stores sampled y-coordinates. | Type: numeric matrix. Supported values: real numeric matrix matching XData and ZData. |
| YDataMode | selects automatic or manual y-coordinate data. | Type: text scalar or character row vector. Supported values: 'auto', 'manual'. |
| YDataSource | stores the y-data source expression. | Type: text value. Supported values: character row vector or string scalar. |
| YRange | sets the sampled y-interval. | Type: two-element numeric vector. Supported values: finite increasing limits. |
| YRangeMode | selects automatic or manual y-range limits. | Type: text scalar or character row vector. Supported values: 'auto', 'manual'. |
| ZData | stores sampled function values. | Type: numeric matrix. Supported values: real numeric matrix matching XData and YData. |
| ZDataSource | stores the z-data source expression. | Type: text value. Supported values: character row vector or string scalar. |
| ZLocation | sets the z-plane used to draw the contours. | Type: numeric scalar or text value. Supported values: finite scalar, 'zmin', or 'zmax'. |
h = fcontour(@(x, y) x.^2 - y.^2);
names = properties(h);