Upgrading from MATLAB 4 to MATLAB 5.0     Search    Help Desk 

New and Enhanced Handle Graphics Object Properties

This section lists new graphics object properties supported in MATLAB 5.0. It also lists graphics properties whose behavior has changed significantly.
Using MATLAB Graphics and the online MATLAB Function Reference provide more detailed descriptions of each property.

Table 1-27: Properties of All Graphics Objects
Property
Description
BusyAction
Control events that potentially interrupt executing callback routines.
Children
Enhanced behavior allows reordering of child objects.
CreateFcn
A callback routine that executes when MATLAB creates a new instance of the specific type of graphics object.
DeleteFcn
A callback routine that executes when MATLAB deletes the graphics object.
HandleVisibility
Control scope of handle visibility.
Interruptible
Now on by default.
Parent
Enhanced behavior allows reparenting of graphics objects.
Selected
Indicate whether graphics object is in selected state.
SelectionHighlight
Determine if graphics objects provide visual indication of selected state.
Tag
User-specified object label.

Table 1-28: Axes Properties  
Property
Description
AmbientLightColor
Color of the surrounding light illuminating all axes child objects when a light object is present.
CameraPosition
Location of the point from which the axes is viewed.
CameraPositionMode
Automatic or manual camera positioning.
CameraTarget
Point in axes viewed from camera position.
CameraTargetMode
Automatic or manual camera target selection.
CameraUpVector
Determine camera rotation around the viewing axis.
CameraUpVectorMode
Default or user-specified camera orientation.
CameraViewAngle
Angle determining the camera field of view.
CameraViewAngleMode
Automatic or manual camera field of view selection.
DataAspectRatio
Relative scaling of x-, y-, and z-axis data units.
DataAspectRatioMode
Automatic or manual axis data scaling.
FontUnits
Units used to interpret the FontSize property (allowing normalized text size).
Layer
Draw axis lines below or above child objects.
NextPlot
Enhanced behavior supports add, replace, and replacechildren options.
PlotBoxAspectRatio
Relative scaling of axes plot box.
PlotBoxAspectRatioMode
Automatic or manual selection of plot box scaling.
Projection
Select orthographic or perspective projection type.
TickDirMode
Automatic or manual selection of tick mark direction (allowing you to change view and preserve the specified TickDir).
XAxisLocation
Locate x-axis at bottom or top of plot.
YAxisLocation
Locate y-axis at left or right side of plot.

Table 1-29: Figure Properties  
Property
Description
CloseRequestFcn
Callback routine executed when you issue a close command on a figure.
Dithermap
Colormap used for truecolor data on pseudocolor displays.
DithermapMode
Automatic dithermap generation.
IntegerHandle
Integer or floating-point figure handle.
PaperPositionMode
WYSIWYG printing of figure.
NextPlot
Enhanced behavior supports add, replace, and replacechildren options.
PointerShapeCData
User-defined pointer data.
PointerShapeHotSpot
Active point in custom pointer.
Renderer
Select painters or Z-buffer rendering.
RendererMode
Enable MATLAB to select best renderer automatically.
Resize
Determine if Figure window is resizeable.
ResizeFcn
Callback routine executed when you resize the Figure window.

Table 1-30: Image Properties
Property
Description
CData
Enhanced behavior allows truecolor (RGB values) specification.
CDataMapping
Select direct or scaled interpretation of indexed colors.
EraseMode
Control drawing and erasing of image objects.

Table 1-31: Light Properties
Property
Description
Color
Color of the light source.
Position
Place the light source within axes space.
Style
Select infinite or local light source.
Table 1-32: Line Properties
Property
Description
Marker
The marker symbol to use at data points (markers are now separate from line style).
MarkerEdgeColor
The color of the edge of the marker symbol.
MarkerFaceColor
The color of the face of filled markers.

Table 1-33: Patch Properties  
Property
Description
AmbientStrength
The strength of the axes ambient light on the particular patch object.
CData
Enhanced behavior allows truecolor (RGB values) specification.
CDataMapping
Select direct or scaled interpretation of indexed colors.
DiffuseStrength
Strength of the reflection of diffuse light from light objects.
FaceLightingAlgorithm
Lighting algorithm used for patch faces.
Faces
The vertices connected to define each face.
FaceVertexCData
Color specification when using the Faces and Vertices properties to define a patch.
LineStyle
Type of line used for edges.
Marker
Symbol used at vertices.
MarkerEdgeColor
The color of the edge of the marker symbol.
MarkerFaceColor
The color of the face of filled markers.
MarkerSize
Size of the marker.
NormalMode
MATLAB generated or user-specified normal vectors.
SpecularColorReflectance
Control the color of the specularly reflected light from light objects.
SpecularExponent
Control the shininess of the patch object.
SpecularStrength
Strength of the reflection of specular light from light objects.
VertexNormals
Definition of the patch's normal vectors.
Vertices
The coordinates of the vertices defining the patch.

Table 1-34: Root Properties
Property
Description
CallbackObject
Handle of object whose callback is currently executing.
ErrorMessage
Text of the last error message issued by MATLAB.
ErrorType
The type of the error that last occurred.
ShowHiddenHandles
Show or hide graphics object handles that are marked as hidden.
TerminalHideGraphCommand
Command to hide graphics window when switching to command mode.
TerminalDimensions
Size of graphics terminal.
TerminalShowGraphCommand
Command to expose graphics window when switching from command mode to graphics mode.

Table 1-35: Surface Properties  
Property
Description
AmbientStrength
The strength of the axes ambient light on the particular surface object.
CData
Enhanced behavior allows truecolor (RGB values) specification.
CDataMapping
Selects direct or scaled interpretation of indexed colors.
DiffuseStrength
Strength of the reflection of diffuse light from light objects.
FaceLightingAlgorithm
Lighting algorithm used for surface faces.
Marker
Symbol used at vertices.
MarkerEdgeColor
The color of the edge of the marker symbol.
MarkerFaceColor
The color of the face of filled markers.
MarkerSize
Size of the marker.
NormalMode
MATLAB generated or user-specified normal vectors.
SpecularColorReflectance
Control the color of the specularly reflected light from light objects.
SpecularExponent
Control the shininess of the surface object.
SpecularStrength
Strength of the reflection of specular light from light objects.
VertexNormals
Definition of the surface's normal vectors.
Vertices
The coordinates of the vertices defining the surface.

Table 1-36: Text Properties
Property
Description
FontUnits
Select the units used to interpret the
FontSize property (allowing normalized text size).
Interpreter
Allow MATLAB to interpret certain characters as TeX commands.
Table 1-37: Uicontrol Properties  
Property
Description
Enable
Enable or disable (gray out) uicontrols.
FontAngle
Select character slant.
FontName
Select font family.
FontSize
Select font size.
FontUnits
Select the units used to interpret the
FontSize property (allowing normalized text size).
FontWeight
Select the weight of text characters.
ListboxTop
Select the listbox item to display at the top of the listbox.
SliderStep
Select the size of the slider step.
Style
Enhanced to include listbox device.

Table 1-38: Uimenu Properties
Property
Description
Enable
Enable or disable (gray out) uicontrols.



[ Previous | Help Desk | Next ]