matlab控制句柄,Matlab句柄问题!

Matlab的句柄操作.在对句柄进行操作时,不知道句柄的属性的具体名字。比如说:

你要修改fig的大小,首先你得知道它的名字叫‘ScreenSize’,

scrsz = get(0,'ScreenSize');

figure('Position',[1 scrsz(4)/2 scrsz(3)/2 scrsz(4)/2])

那么对于fig 来讲,除了‘ScreenSize‘还有那些属性可以修改?怎么知道它的其他属性?

对于其他图形对象有哪些属性可以修改,它们的名字叫什么?

有热心的网友说Figure properties可以看到。或者通过使用get(h)获得h的所有可设置属性

使用set(h)获得获得h的所有可设置属性及其当前属性值

但是我在属性里没有看到像‘ScreenSize“这样的属性,

get(figure)

Alphamap = [ (1 by 64) double array]

BackingStore = on

CloseRequestFcn = closereq

Color = [0.8 0.8 0.8]

Colormap = [ (64 by 3) double array]

CurrentAxes = []

CurrentCharacter =

CurrentObject = []

CurrentPoint = [0 0]

DockControls = on

DoubleBuffer = on

FileName =

FixedColors = [ (3 by 3) double array]

IntegerHandle = on

InvertHardcopy = on

KeyPressFcn =

MenuBar = figure

MinColormap = [64]

Name =

NextPlot = add

NumberTitle = on

PaperUnits = centimeters

PaperOrientation = portrait

PaperPosition = [0.634517 6.34517 20.3046 15.2284]

PaperPositionMode = manual

PaperSize = [20.984 29.6774]

PaperType = A4

Pointer = arrow

PointerShapeCData = [ (16 by 16) double array]

PointerShapeHotSpot = [1 1]

Position = [360 280 560 420]

Renderer = painters

RendererMode = auto

Resize = on

ResizeFcn =

SelectionType = normal

ShareColors = on

ToolBar = auto

Units = pixels

WindowButtonDownFcn =

WindowButtonMotionFcn =

WindowButtonUpFcn =

WindowStyle = normal

WVisual = 01 (RGB 32 bits(08 08 08 00) zdepth 24, Hardware Accelerated, Opengl, Window)

WVisualMode = auto

BeingDeleted = off

ButtonDownFcn =

Children = []

Clipping = on

CreateFcn =

DeleteFcn =

BusyAction = queue

HandleVisibility = on

HitTest = on

Interruptible = on

Parent = [0]

Selected = off

SelectionHighlight = on

Tag =

Type = figure

UIContextMenu = []

UserData = []

Visible = on

期待各位网友热心帮忙,

谢谢!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值