- •Its handle.
- •Axis creation and control
- •Is the lower-left corner and (1.0,1.0) is the upper-right.
- •Handle Graphics objects
- •Its handle.
- •XData, yData, zData, or cData, the returned value is computed by
- •VertexNormals, EdgeLighting, and FaceLighting.
- •Values. See the reference guide for detailed property information.
- •Information.
- •Information.
- •Information.
- •Is the figure, the figure is returned.
- •If you specify a filename, matlab directs output to a file instead of
- •150 For figures in image formats and when
- •In portrait orientation for subsequent print operations.
- •In hideme invisible for printing, and turns them visible again
- •Instead of the current axes of the current figure. If hsave is
- •Interface: "iUnknown" if user wants matlab to use iUnknown interface
XData, yData, zData, or cData, the returned value is computed by
translating from Faces, Vertices, and FaceVertexCData.
GET(H), where H is a patch handle, displays a list of patch
object properties and their current values. SET(H) will display
a list of patch object properties and legal property values.
See also fill, fill3, line, text, shading.
Reference page in Help browser
doc patch
<rectangle> - Create rectangle, rounded-rectangle, or ellipse.
RECTANGLE Create rectangle, rounded-rectangle, or ellipse.
RECTANGLE adds a default rectangle to the current axes.
RECTANGLE('Position', [x y w h]) adds a rectangle at the
specified position.
RECTANGLE('Curvature', [0 0], ...) creates a rectangle.
RECTANGLE('Curvature', [1 1], ...) creates an ellipse.
RECTANGLE('Curvature', [x y], ...) creates a rectangle with
rounded corners where x and y are between 0 and 1 and represent
the normalized amount of curvature. Horizontal curvature (x)
is the fraction of the width of the position rectangle which is
curved. Vertical curvature (y) is the fraction of the height
of the position rectangle which is curved.
RECTANGLE returns a handle to a RECTANGLE object. RECTANGLEs are
children of AXES objects.
The RECTANGLE object will not render at axes View angles other than
[0 90].
Execute GET(H), where H is a rectangle handle, to see a list of
rectangle object properties and their current values. Execute SET(H)
to see a list of rectangle object properties and legal property
values.
See also line, patch, text, plot, plot3.
Reference page in Help browser
doc rectangle
<surface> - Create surface.
SURFACE Create surface.
SURFACE(X,Y,Z,C) adds the surface in X,Y,Z,C to the current axes.
SURFACE(X,Y,Z) uses C = Z, so color is proportional to surface height.
See SURF for a complete description of the various forms that X,Y,Z,C
can take.
SURFACE returns a handle to a SURFACE object. SURFACEs are children of
AXES objects.
The arguments to SURFACE can be followed by parameter/value pairs
to specify additional properties of the surface. The X,Y,Z,C arguments
to SURFACE can be omitted entirely, and all properties specified using
parameter/value pairs.
AXIS, CAXIS, COLORMAP, HOLD, SHADING and VIEW set figure, axes, and
surface properties which affect the display of the SURFACE.
Execute GET(H), where H is a surface handle, to see a list of surface
object properties and their current values. Execute SET(H) to see a
list of surface object properties and legal property values.
See also surf, line, patch, text, shading.
Overloaded methods:
xregstatsmodel/surface
xregmodel/surface
xregarx/surface
Reference page in Help browser
doc surface
<image> - Create image.
IMAGE Display image.
IMAGE(C) displays matrix C as an image. Each element of C
specifies the color of a rectilinear patch in the image. C can be
a matrix of dimension MxN or MxNx3, and can contain double, uint8,
or uint16 data.
When C is a 2-dimensional MxN matrix, the elements of C are used
as indices into the current COLORMAP to determine the color. The
value of the image object's CDataMapping property determines the
method used to select a colormap entry. For 'direct' CDataMapping
(the default), values in C are treated as colormap indices
(1-based if double, 0-based if uint8 or uint16). For 'scaled'
CDataMapping, values in C are first scaled according to the axes
CLim and then the result is treated as a colormap index. When C is
a 3-dimensional MxNx3 matrix, the elements in C(:,:,1) are
interpreted as red intensities, in C(:,:,2) as green intensities,
and in C(:,:,3) as blue intensities, and the CDataMapping property
of image is ignored. For matrices containing doubles, color
intensities are on the range [0.0, 1.0]. For uint8 and uint16
matrices, color intensities are on the range [0, 255].
IMAGE(C) places the center of element C(1,1) at (1,1) in the axes,
and the center of element (M,N) at (M,N) in the axes, and draws
each rectilinear patch as 1 unit in width and height. As a
result, the outer extent of the image occupies [0.5 N+0.5 0.5 M+0.5]
of the axes, and each pixel center of the image lies at integer
coordinates ranging between 1 and M or N.
IMAGE(X,Y,C), where X and Y are vectors, specifies the locations
of the pixel centers of C(1,1) and C(M,N). Element C(1,1) is
centered over (X(1), Y(1)), element C(M,N) is centered over
(X(end), Y(end)), and the pixel centers of the remaining elements
of C are spread out evenly between those two points, so that the
rectilinear patches are all of equal width and height.
IMAGE returns a handle to an IMAGE object.
C or the X,Y,C triple can be followed by property/value
pairs to specify additional properties of the image.
C or the X,Y,C triple can be omitted entirely, and all
properties specified using property/value pairs.
IMAGE(...,'Parent',AX) specifies AX as the parent axes for the
image object during creation.
When called with C or X,Y,C, IMAGE sets the axes limits to tightly
enclose the image, sets the axes YDir property to 'reverse', and
sets the axes View property to [0 90].
The image object will not render at axes View angles other than
[0 90]. To get a similar effect to rotating an image, use SURF
with texture mapping or PCOLOR.
Execute GET(H), where H is an image handle, to see a list of image
object properties and their current values. Execute SET(H) to see a
list of image object properties and legal property values.
See also imagesc, colormap, pcolor, surf, imread, imwrite.
Reference page in Help browser
doc image
<light> - Create light.
LIGHT Create light.
LIGHT adds a LIGHT object to the current axes, with all properties
set to their default values.
LIGHT(Param1, Value1, ..., ParamN, ValueN) adds a light object
to the current axes, with properties Param1-ParamN set
to the values specified in Value1-ValueN.
L=LIGHT(...) returns a handle to the LIGHT object.
LIGHT objects are children of AXES objects. LIGHT objects do not
draw, but can affect the look of SURFACE and PATCH objects. The
effect of LIGHT objects can be controlled through the LIGHT
properties including Color, Style, Position, and Visible. The
light position is in data units.
The effect of LIGHT objects upon SURFACE and PATCH objects is
also affected by the AXES property AmbientLightColor, and the
SURFACE and PATCH properties of AmbientStrength, DiffuseStrength,
SpecularColorReflectance, SpecularExponent, SpecularStrength,