Graphics Commands and Object Properties (MATLAB) Part 4

Surface Properties – Section 7.5.7

Property

Read

Only

Value Type/Options

Format

Properties that Define a Surface

XData

No

coordinates of the points at the vertices

vector or matrix

YData

No

coordinates of the points at the vertices

vector or matrix

ZData

No

coordinates of the points at the vertices

vector or matrix

Properties that Specify Lines, Colors, and Markers

CData

No

numbers

vector

CDataMapping

No

[ direct | (scaled)]

row

LineStyle

No

tmpb8bf-326

row

LineWidth

No

number

1 element

EdgeColor

No

[ none | (flat) | interp ] or [Red Green Blue] or color string

row

FaceColor

No

[ none | (flat) | interp | texturemap ] or [Red Green Blue] or color string

row

Marker

No

tmpb8bf-327

row

MarkerEdgeColor

No

[ none | (auto) | [R G B] | color_string]

row

MarkerFaceColor

No

[ (none) | auto | [R G B] | color_string]

row

MarkerSize

No

number

1 element

Properties Affecting Lighting and Transparency

AmbientStrength

No

numbers

vector

BackFaceLighting

No

[ unlit | lit | (reverselit) ]

row

DiffuseStrength

No

number

1 element

EdgeLighting

No

[ (none) | (flat) | gouraud | phong ]

row

FaceLighting

No

[ none | (flat) | gouraud | phong ]

row

NormalMode

No

[ (auto) | manual ]

row

SpecularColorReflectance

No

number ranging from 0 to 1

1 element

SpecularExponent

No

number > or = to 1

1 element

SpecularStrength

No

number ranging from 0 to 1

1 element

VertexNormals

No

numbers

M-by-3

matrix

AlphaData

No

default = 1 (opaque)

M-by-N matrix of double or uint8

AlphaDataMapping

No

[ none | direct | (scaled) ]

row

EdgeAlpha

No

[(scalar = 1) | flat | interp ]

1 element or string

FaceAlpha

No

[(scalar = 1) | flat | interp ]

1 element or string

Property

Read

Only

Value Type/Options

Format

Color

No

[Red Green Blue] or color string

RGB row

Editing

No

[{off} | on ]

row

EraseMode

No

[{normal} | none | xor | background ]

row

Extent

Yes

[left bottom width height]

4-element

row

FontAngle

No

[ {normal} | italic | oblique ]

1 element

FontName

No

string

row

FontSize

No

numbers

1 element

FontUnits

No

[ inches | centimeters | normalized | points | pixels | {data} ]

row

FontWeight

No

[ light | {normal} | demi | bold ]

row

HorizontalAlignment

No

[ {left} | center | right ]

row

Interpreter

No

[ {tex} | none ]

row

Position

No

[x y z] coordinates

row

Rotation

No

[AngleInDegrees]

1 element

String

No

string

row

Units

No

[ inches | centimeters | normalized | points | pixels | {data} ]

row

VerticalAlignment

No [top | cap | {middle} | baseline | bottom]

row

Property

Read

Only

Value Type/Options

Format

AlphaData

No

m-by-n matrix of transparency data for image and surface objects

matrix

AlphaDataMapping

No

none | direct | scaled none = default for images scaled = default for patches

row

FaceAlpha

No

Transparency for faces

row or scalar

EdgeAlpha

No

Transparency for edges

row or scalar

FaceVertexAlphaData

No

Alpha data property for patches

row or scalar

ALim

No

Alpha axis limits

vector

ALimMode

No

Alpha axis limits mode

row

Alphamap

No

Figure Alphamap

matrix

Property

Read

Only

Value Type/Options

Format

BackgroundColor

No

[Red Green Blue] or color string

RGB row

ButtonDownFcn

No

string

row

CData

No

matrix

CallBack

No

string

row

Enable

No

[ on | {off} | inactive ]

row

Extent

Yes

[0,0,width,height]

row

FontAngle

No

[ {normal} | italic | oblique ]

row

FontName

No

string

row

FontSize

No

number

1 element

FontUnits

No

{points} | normalized | inches | centimeters | pixels

row

FontWeight

No

[ light | {normal} | demi | bold ]

row

ForegroundColor

No

[Red Green Blue] or color string

RGB row

HorizontalAlignment

No

[ left | {center} | right ]

row

Interruptible

No

{on} | off

row

ListBoxTop

No

number

1 element

Max

No

number

1 element

Min

No

number

1 element

Position

No

[left bottom width height]

4-element

row

String

No

string

string matrix

Style

No

[ {pushbutton} | radiobutton | togglebutton | checkbox | edit | text | slider | frame | popupmenu | list box]

row

SliderStep

No

number

1 element

TooltipString

No

string

row

Units

No

[ inches | centimeters | normalized | points | {pixels} ]

row

UIContextMenu

handle

1 element

Value

No

number

1 element

Tag

No

string

row

UserData

No

string(s) or number(s)

matrix

Visible

No

[ {on} | off ]

row

Property

Read

Only

Value Type/Options

Format

Accelerator

No

string

row

CallBack

No

string

row

Checked

No

[ on | {off} ]

row

Children

Yes

object handles

column

Enable

No

[ on | {off} | inactive ]

row

ForegroundColor

No

[Red Green Blue] or color string

RGB row

Label

No

string

row

Position

No

[left bottom width height]

4-element

row

Separator

No

[ on {off} ]

row

Interruptible

No

[{on} | off ]

row

Tag

No

string

row

UserData

No

string(s) or number(s)

matrix

Visible

No

[ {on} | off ]

row

Next post:

Previous post: