matlab 查看对象属性,怎样查看子对象属性?

>> ezplot('sin(x)');

legend('sin');

>> a=get(1,'children')

a =

176.0017

170.0022

>> get(a(1))

ActivePositionProperty: 'position'

ALim: [0 1]

ALimMode: 'auto'

AmbientLightColor: [1 1 1]

Box: 'on'

CameraPosition: [0.5000 0.5000 17.3205]

CameraPositionMode: 'auto'

CameraTarget: [0.5000 0.5000 0]

CameraTargetMode: 'auto'

CameraUpVector: [0 1 0]

CameraUpVectorMode: 'auto'

CameraViewAngle: 6.6086

CameraViewAngleMode: 'auto'

CLim: [0 1]

CLimMode: 'manual'

Color: [1 1 1]

CurrentPoint: [2x3 double]

ColorOrder: [7x3 double]

DataAspectRatio: [1 1 2]

DataAspectRatioMode: 'auto'

DrawMode: 'fast'

FontAngle: 'normal'

FontName: 'Helvetica'

FontSize: 10

FontUnits: 'points'

FontWeight: 'normal'

GridLineStyle: ':'

Layer: 'bottom'

LineStyleOrder: '-'

LineWidth: 0.5000

MinorGridLineStyle: ':'

NextPlot: 'add'

OuterPosition: [0.7542 0.8476 0.1446 0.0603]

PlotBoxAspectRatio: [1 1 1]

PlotBoxAspectRatioMode: 'auto'

Projection: 'orthographic'

Position: [0.7613 0.8524 0.1339 0.0556]

TickLength: [0.0100 0.0250]

TickDir: 'in'

TickDirMode: 'auto'

TightInset: [0.0071 0.0048 0.0036 0]

Title: 221.0017

Units: 'normalized'

View: [0 90]

XColor: [0 0 0]

XDir: 'normal'

XGrid: 'off'

XLabel: 222.0017

XAxisLocation: 'bottom'

XLim: [0 1]

XLimMode: 'manual'

XMinorGrid: 'off'

XMinorTick: 'off'

XScale: 'linear'

XTick: -1

XTickLabel: ''

XTickLabelMode: 'manual'

XTickMode: 'manual'

YColor: [0 0 0]

YDir: 'normal'

YGrid: 'off'

YLabel: 223.0017

YAxisLocation: 'left'

YLim: [0 1]

YLimMode: 'manual'

YMinorGrid: 'off'

YMinorTick: 'off'

YScale: 'linear'

YTick: -1

YTickLabel: ''

YTickLabelMode: 'manual'

YTickMode: 'manual'

ZColor: [0 0 0]

ZDir: 'normal'

ZGrid: 'off'

ZLabel: 224.0017

ZLim: [-1 1]

ZLimMode: 'auto'

ZMinorGrid: 'off'

ZMinorTick: 'off'

ZScale: 'linear'

ZTick: [-1 0 1]

ZTickLabel: ''

ZTickLabelMode: 'auto'

ZTickMode: 'auto'

BeingDeleted: 'off'

ButtonDownFcn: {2x1 cell}

Clipping: 'on'

CreateFcn: []

DeleteFcn: []

BusyAction: 'queue'

HandleVisibility: 'on'

HitTest: 'on'

Interruptible: 'off'

Selected: 'off'

SelectionHighlight: 'on'

Tag: 'legend'

Type: 'axes'

UIContextMenu: 182.0017

UserData: [1x1 struct]

Children: [3x1 double]

Parent: 1

Visible: 'on'

Location: 'NorthEast'

Orientation: 'vertical'

EdgeColor: [0 0 0]

TextColor: [0 0 0]

Interpreter: 'tex'

String: {'sin'}

>> get(a(2))

ActivePositionProperty = outerposition

ALim = [0 1]

ALimMode = auto

AmbientLightColor = [1 1 1]

Box = on

CameraPosition = [0 0 17.3205]

CameraPositionMode = auto

CameraTarget = [0 0 0]

CameraTargetMode = auto

CameraUpVector = [0 1 0]

CameraUpVectorMode = auto

CameraViewAngle = [6.60861]

CameraViewAngleMode = auto

CLim = [0 1]

CLimMode = auto

Color = [1 1 1]

CurrentPoint = [ (2 by 3) double array]

ColorOrder = [ (7 by 3) double array]

DataAspectRatio = [6.28319 1.2307 1]

DataAspectRatioMode = auto

DrawMode = normal

FontAngle = normal

FontName = Helvetica

FontSize = [10]

FontUnits = points

FontWeight = normal

GridLineStyle = :

Layer = bottom

LineStyleOrder = -

LineWidth = [0.5]

MinorGridLineStyle = :

NextPlot = replace

OuterPosition = [0 0 1 1]

PlotBoxAspectRatio = [1 1 1]

PlotBoxAspectRatioMode = auto

Projection = orthographic

Position = [0.13 0.11 0.775 0.815]

TickLength = [0.01 0.025]

TickDir = in

TickDirMode = auto

TightInset = [0.0464286 0.0904762 0.00357143 0.0547619]

Title = [173.002]

Units = normalized

View = [0 90]

XColor = [0 0 0]

XDir = normal

XGrid = off

XLabel = [172.002]

XAxisLocation = bottom

XLim = [-6.28319 6.28319]

XLimMode = manual

XMinorGrid = off

XMinorTick = off

XScale = linear

XTick = [-6 -4 -2 0 2 4 6]

XTickLabel =

-6

-4

-2

0

2

4

6

XTickLabelMode = auto

XTickMode = auto

YColor = [0 0 0]

YDir = normal

YGrid = off

YLabel = [174.002]

YAxisLocation = left

YLim = [-1.2307 1.2307]

YLimMode = manual

YMinorGrid = off

YMinorTick = off

YScale = linear

YTick = [-1 -0.5 0 0.5 1]

YTickLabel =

-1

-0.5

0

0.5

1

YTickLabelMode = auto

YTickMode = auto

ZColor = [0 0 0]

ZDir = normal

ZGrid = off

ZLabel = [175.002]

ZLim = [-1 1]

ZLimMode = auto

ZMinorGrid = off

ZMinorTick = off

ZScale = linear

ZTick = [-1 0 1]

ZTickLabel =

ZTickLabelMode = auto

ZTickMode = auto

BeingDeleted = off

ButtonDownFcn =

Children = [171.003]

Clipping = on

CreateFcn =

DeleteFcn =

BusyAction = queue

HandleVisibility = on

HitTest = on

Interruptible = on

Parent = [1]

Selected = off

SelectionHighlight = on

Tag =

Type = axes

UIContextMenu = []

UserData = []

Visible = on

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值