Graphics    

Properties Changed by Built-In Functions

To achieve their intended effect, many built-in functions change axes properties, which can then affect the workings of your M-file. This table lists the MATLAB built-in graphics functions and the properties they change. Note that these properties change only if hold is off.

Function
Axes Property: Set To

fill

Box: on

CameraPosition: 2-D view

CameraTarget: 2-D view

CameraUpVector: 2-D view

CameraViewAngle: 2-D view

fill3

CameraPosition: 3-D view

CameraTarget: 3-D view

CameraUpVector: 3-D view

CameraViewAngle: 3-D view

XScale: linear

YScale: linear

ZScale: linear

image (high-level)

Box: on

Layer: top

CameraPosition: 2-D view

CameraTarget: 2-D view

CameraUpVector: 2-D view

CameraViewAngle: 2-D view

XDir: normal

XLim: [0 size(CData,1)]+0.5

XLimMode: manual

YDir: reverse

YLim: [0 size(CData,2)]+0.5

YLimMode: manual

loglog

Box: on

CameraPosition: 2-D view

CameraTarget: 2-D view

CameraUpVector: 2-D view

CameraViewAngle: 2-D view

XScale: log

YScale: log

plot

Box: on

CameraPosition: 2-D view

CameraTarget: 2-D view

CameraUpVector: 2-D view

CameraViewAngle: 2-D view

plot3

CameraPosition: 3-D view

CameraTarget: 3-D view

CameraUpVector: 3-D view

CameraViewAngle: 3-D view

XScale: linear

YScale: linear

ZScale: linear

semilogx

Box: on

CameraPosition: 2-D view

CameraTarget: 2-D view

CameraUpVector: 2-D view

CameraViewAngle: 2-D view

XScale: log

YScale: linear

semilogy

Box: on

CameraPosition: 2-D view

CameraTarget: 2-D view

CameraUpVector: 2-D view

CameraViewAngle: 2-D view

XScale: linear

YScale: log


  Saving Handles in M-Files Callback Properties for Graphics Objects